Skip to content

Commit

Permalink
Update puppeteer Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
hotzenklotz authored Oct 18, 2024
1 parent 7326ef6 commit 8c35006
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion puppeteer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ RUN chmod +x /usr/local/bin/dumb-init
# ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true

# Install puppeteer so it's available in the container.
RUN npm i puppeteer
RUN corepack enable && corepack install yarn
RUN yarn install puppeteer

# Add user so we don't need --no-sandbox.
RUN groupadd -r pptruser && useradd -r -g pptruser -G audio,video pptruser \
Expand Down

0 comments on commit 8c35006

Please sign in to comment.