Skip to content

Commit

Permalink
Install chromium driver instead of COPY'ing
Browse files Browse the repository at this point in the history
  • Loading branch information
Donnype committed Jun 21, 2024
1 parent a3bedc6 commit 2e3d165
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ FROM python:$PYTHON_VERSION-slim
ARG USER=pydfy-user
ENTRYPOINT ["poetry", "run", "python"]

COPY --from=seleniarm/standalone-chromium:latest /usr/bin/chromedriver /usr/bin/chromedriver

RUN apt-get update && apt-get install -y chromium curl
RUN apt-get update && apt-get install -y chromium chromium-driver curl
RUN curl -sLO https://github.com/tailwindlabs/tailwindcss/releases/latest/download/tailwindcss-linux-x64 && \
chmod +x tailwindcss-linux-x64 && \
mv tailwindcss-linux-x64 /usr/local/bin/tailwindcss
Expand Down

0 comments on commit 2e3d165

Please sign in to comment.