Skip to content

Commit

Permalink
fix(containerfile): install puppeteer
Browse files Browse the repository at this point in the history
  • Loading branch information
spnngl committed Nov 2, 2023
1 parent bf9d785 commit d863c1e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Containerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:bookworm-slim
FROM node:21.1.0-bookworm-slim

# We don't need the standalone Chromium
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
Expand All @@ -16,6 +16,8 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked apt-get update \
USER node
WORKDIR /app

RUN npm install puppeteer

COPY --chown=node:node . .

# just run the container doing nothing
Expand Down

0 comments on commit d863c1e

Please sign in to comment.