Skip to content

Commit

Permalink
Update Dockerfile to use corepack
Browse files Browse the repository at this point in the history
  • Loading branch information
BHSPitMonkey committed Dec 7, 2024
1 parent d19a54b commit 0f22c72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ LABEL org.opencontainers.image.licenses=MIT
WORKDIR /usr/src/app
COPY package.json yarn.lock ./

# Note: The node:22 image ships with Yarn 1.x, not 2/3
RUN yarn install --immutable --network-timeout 600000
RUN corepack enable
RUN yarn install --network-timeout 600000
COPY dist/ ./dist/

EXPOSE 8080
Expand Down

0 comments on commit 0f22c72

Please sign in to comment.