Skip to content

Commit

Permalink
fix up Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Towerism committed May 25, 2024
1 parent 4996061 commit 2401232
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
@@ -1,7 +1,7 @@
FROM node:22 as build
WORKDIR /usr/src/app

RUN npm install -g pnpm
RUN npm install -g pnpm@9.1.1

COPY package.json ./
COPY pnpm-lock.yaml ./
Expand All @@ -10,7 +10,7 @@ COPY . .

RUN pnpm build

FROM --platform=linux/arm64 node:22-alpine
FROM node:22-alpine
COPY --from=build /usr/src/app/.output /app
WORKDIR /app

Expand Down

0 comments on commit 2401232

Please sign in to comment.