fix: playwright not found in docker build

playwright install was called outside the uv virtual environment during Docker build, causing 'playwright: not found'. Fixed by using uv run playwright install --with-deps chromium.
This commit is contained in:
SamgeShao authored and GitHub committed 2026-05-06 11:40:05 +08:00
1 parent 54f1f0d577
commit 3c5ae13271
1 file changed
+1 -1
+1 -1
View File
@@ -52,7 +52,7 @@ RUN export UV_HTTP_TIMEOUT=300 && \
else \ else \
uv pip install -e .; \ uv pip install -e .; \
fi && \ fi && \
playwright install --with-deps chromium uv run playwright install --with-deps chromium
# Copy rest of application code # Copy rest of application code
COPY api ./api COPY api ./api