Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
removing chromium
  • Loading branch information
ochalover authored Jan 16, 2025
1 parent ab60456 commit 9a9e138
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -129,15 +129,7 @@ ENV PATH="/app/.venv/bin:${PATH}"
ARG INCLUDE_CHROMIUM="true"
ARG INCLUDE_FIREFOX="false"
RUN --mount=type=cache,target=/root/.cache/uv\
if [ "$INCLUDE_CHROMIUM" = "true" ] || [ "$INCLUDE_FIREFOX" = "true" ]; then \
uv pip install playwright && \
playwright install-deps && \
if [ "$INCLUDE_CHROMIUM" = "true" ]; then playwright install chromium; fi && \
if [ "$INCLUDE_FIREFOX" = "true" ]; then playwright install firefox; fi; \
else \
echo "Skipping browser installation"; \
fi


######################################################################
# Python translation compiler layer
######################################################################
Expand Down

0 comments on commit 9a9e138

Please sign in to comment.