Skip to content

Commit

Permalink
install chrome to image
Browse files Browse the repository at this point in the history
  • Loading branch information
takaishi committed Nov 27, 2024
1 parent f928214 commit 91d5004
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ ENV RAILS_ENV=${RAILS_ENV}, RAILS_LOG_TO_STDOUT=ON, RAILS_SERVE_STATIC_FILES=ena
WORKDIR /app
COPY --link --from=node /app/node_modules /app/node_modules
COPY --link --from=fetch-lib /usr/local/bundle /usr/local/bundle
RUN apt-get update && apt-get -y install libmariadb3 libvips42 \
RUN apt-get update && apt-get -y install wget libmariadb3 libvips42 \
&& wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
&& apt install -y ./google-chrome-stable_current_amd64.deb \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
COPY --link . .
COPY --link --from=asset-compile /app/public /app/public
Expand Down

0 comments on commit 91d5004

Please sign in to comment.