Skip to content

Commit

Permalink
fix: replace yarn for pnpm on dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Murzbul committed Oct 3, 2022
1 parent 52de126 commit 3ae324c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@ USER node

FROM dev as build

RUN yarn
RUN yarn transpile
RUN pnpm install
RUN pnpm transpile

FROM build as prerelease

RUN yarn --production=true
RUN pnpm install --production

FROM node:16-alpine as prod

RUN apk add bash dumb-init
RUN yarn global add pm2
RUN npm install -g pm2

WORKDIR /usr/app

Expand Down

0 comments on commit 3ae324c

Please sign in to comment.