Skip to content

Commit

Permalink
chore: made chrome stable a default
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Feb 27, 2024
1 parent 7ef4a58 commit 2974c19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ ENV LEVEL INFO
ENV HOST 0.0.0.0
ENV PORT 8080
ENV NODE_ENV production
ENV PUPPETEER_CHROMIUM_REVISION stable

ADD app.js /app/
ADD package.json /app/
Expand All @@ -30,6 +29,6 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y gconf-service\
libgbm-dev ca-certificates fonts-liberation fonts-emojione\
ttf-wqy-zenhei ttf-wqy-microhei fonts-arphic-ukai fonts-noto-cjk fonts-arphic-uming\
libappindicator1 libnss3 lsb-release xdg-utils wget
RUN npm install
RUN PUPPETEER_CHROMIUM_REVISION=stable npm install

CMD ["/usr/bin/node", "/app/app.js"]
3 changes: 1 addition & 2 deletions Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ ENV LEVEL INFO
ENV HOST 0.0.0.0
ENV PORT 8080
ENV NODE_ENV production
ENV PUPPETEER_CHROMIUM_REVISION stable

ADD app.js /app/
ADD package.json /app/
Expand All @@ -31,6 +30,6 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y gconf-service\
libgbm-dev ca-certificates fonts-liberation fonts-noto-color-emoji\
ttf-wqy-zenhei ttf-wqy-microhei fonts-arphic-ukai fonts-noto-cjk fonts-arphic-uming\
libappindicator1 libnss3 lsb-release xdg-utils wget
RUN npm install
RUN PUPPETEER_CHROMIUM_REVISION=stable npm install

CMD ["/usr/bin/node", "/app/app.js"]

0 comments on commit 2974c19

Please sign in to comment.