mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-04-13 17:52:28 +08:00
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:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user