Skip to content

Commit

Permalink
fix: install chromium separately
Browse files Browse the repository at this point in the history
  • Loading branch information
mytlogos committed Aug 26, 2022
1 parent 17be82a commit 2f83744
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
FROM node:18
ARG PROJECT_VERSION

RUN apt update && apt install -y chromium && apt-get clean
RUN export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
RUN export PUPPETEER_EXECUTABLE_PATH=$(which chromium)

WORKDIR /code
COPY prepare-docker.sh ./
# download release and install dependencies
Expand Down

0 comments on commit 2f83744

Please sign in to comment.