Skip to content

Commit

Permalink
fix: port dockerfile to use pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
paring-chan committed Jun 16, 2024
1 parent 2d9f3e9 commit 9c2bb5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
5 changes: 0 additions & 5 deletions .yarnrc.yml

This file was deleted.

8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ RUN mkdir -p /app

WORKDIR /app

COPY package.json yarn.lock ./
COPY package.json pnpm-lock.yaml ./

RUN corepack enable && yarn --frozen-lockfile
RUN corepack enable && pnpm i --frozen-lockfile

COPY . .

RUN yarn build
RUN pnpm build

CMD yarn prod
CMD pnpm prod

0 comments on commit 9c2bb5e

Please sign in to comment.