Skip to content

Commit

Permalink
specify yarn version
Browse files Browse the repository at this point in the history
  • Loading branch information
hotzenklotz authored Oct 18, 2024
1 parent 6b86d6c commit eddc0e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions puppeteer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +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 corepack enable
RUN yarn install puppeteer
RUN corepack enable && corepack install -g yarn@^4.4.1
RUN yarn add puppeteer@^19.7.2

# 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 eddc0e3

Please sign in to comment.