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:
1 parent
54f1f0d577
commit
3c5ae13271
1 file changed
+1
-1
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user