We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae41c56 commit 7092dcdCopy full SHA for 7092dcd
Dockerfile
@@ -2,7 +2,9 @@ FROM node:18-slim AS base
2
ENV PNPM_HOME="/pnpm"
3
ENV PATH="$PNPM_HOME:$PATH"
4
#Hook into pnpm without installing pnpm. (magic) (https://nodejs.org/docs/latest-v18.x/api/corepack.html)
5
-RUN corepack enable
+# RUN corepack enable
6
+#Current fix for the corepack download issue
7
+RUN npm install -g pnpm
8
WORKDIR /usr/src/app
9
COPY package*.json pnpm-lock*.yaml ./
10
@@ -23,4 +25,4 @@ ENV NODE_ENV production
23
25
24
26
COPY --from=prod_dependencies /usr/src/app/node_modules ./node_modules
27
COPY --from=builder /usr/src/app/dist ./dist
-CMD [ "pnpm", "run", "start" ]
28
+CMD [ "pnpm", "run", "start" ]
0 commit comments