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
This commit is contained in:
Cursor Agent
2025-08-20 16:15:26 +00:00
parent 8c69ce624f
commit 5c124d3988

View File

@@ -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 \