Skip to content

Commit

Permalink
Merge pull request #1 from erickueen/feauter/add_chrome_driver
Browse files Browse the repository at this point in the history
Add chrome driver
  • Loading branch information
erickueen authored Jul 15, 2021
2 parents a0eb9a2 + e14c258 commit eb5a8c6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ FROM thobe/wkhtmltopdf-base:latest as wkhtmltopdf
FROM alpine:3.13
LABEL maintainer="Jhon Pedroza <jpedroza@cuentamono.com>"
ENV ERLANG_VERSION=23.2.7
# elixir 1.12.0
ENV ELIXIR_COMMIT=f73e318bce04dfc829162e569b2b993df6f2e5df
# elixir 1.12.2
ENV ELIXIR_COMMIT=58ca6524f88bfe7e963deafe0e7d6aa07a568003
ENV NODE_VERSION=14.16.0
ENV PHOENIX_VERSION=1.5.7

Expand Down Expand Up @@ -47,7 +47,8 @@ RUN \
wkhtmltopdf && \
rm -rf /var/cache/apk/* && \
chmod +x /usr/bin/wkhtmltopdf && \
apk add g++
apk add g++ chromium \
chromium-chromedriver

COPY --from=wkhtmltopdf /bin/wkhtmltopdf usr/bin/wkhtmltopdf

Expand Down

0 comments on commit eb5a8c6

Please sign in to comment.