Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
berviantoleo authored Nov 24, 2024
1 parent 9f032c7 commit 6f3fc49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ FROM node:22-alpine as runner
WORKDIR /app
COPY --from=build /app/dist /app/dist
COPY package.json yarn.lock .yarnrc.yml ./
RUN corepack enable && yarn install --immutable --production && yarn cache clean
RUN corepack enable && yarn install --immutable && yarn cache clean
RUN adduser -D ia && chown -R ia /app
USER ia
CMD [ "yarn", "start" ]

0 comments on commit 6f3fc49

Please sign in to comment.