From 5c124d3988e4a97d097d7d882005cdb87c161c7a Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Wed, 20 Aug 2025 16:15:26 +0000 Subject: [PATCH] fix: use full path for playwright command in Dockerfile - Fix 'playwright: not found' error during Docker build - Use /bin/playwright instead of playwright to ensure the command is executed from the virtual environment - This resolves the issue where playwright install-deps chromium was failing because playwright wasn't in the system PATH --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 105c16a8..9500df52 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -57,7 +57,7 @@ RUN python3 -m venv ${VENV_PATH} \ COPY ../requirements.in requirements.in RUN ${VENV_PATH}/bin/pip-compile requirements.in \ && ${VENV_PATH}/bin/pip install -r requirements.txt \ - && playwright install-deps chromium \ + && ${VENV_PATH}/bin/playwright install-deps chromium \ && apt-get remove -y build-essential \ && apt-get autoremove -y \ && apt-get clean -y \