There was an error while loading. Please reload this page.
1 parent 03690f0 commit 625d374Copy full SHA for 625d374
1 file changed
Dockerfile
@@ -1,8 +1,9 @@
1
-FROM node:22-alpine
+FROM node:20-alpine
2
WORKDIR /app
3
-COPY package*.json .
4
-RUN npm ci
+RUN corepack enable && corepack prepare pnpm@10.33.0 --activate
+COPY package.json pnpm-lock.yaml .npmrc ./
5
+RUN pnpm install --frozen-lockfile
6
COPY . .
-RUN npm run build
7
+RUN pnpm build
8
EXPOSE 3000
9
CMD ["node", "dist/index.js"]
0 commit comments