Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# multi-stage build new in Docker 17.05 (https://docs.docker.com/engine/userguide/eng-image/multistage-build/)
FROM yukinying/chrome-headless
FROM node:12
FROM node:14.21.3-bullseye

# chrome dependencies
RUN apt-get update -y && apt-get install -y -q libnss3 libfontconfig && rm -rf /var/lib/apt/lists/*
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y -q libnss3 && apt-get install --reinstall fontconfig && rm -rf /var/lib/apt/lists/*

COPY --from=0 /chrome /chrome

Expand Down
Loading