We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddf7fa4 commit 7babd68Copy full SHA for 7babd68
1 file changed
Dockerfile
@@ -2,7 +2,7 @@
2
FROM node:16 AS builder
3
LABEL author="Swadesh Behera"
4
5
-RUN npm install -g pnpm
+# RUN npm install -g npm
6
7
# Add timezone
8
RUN apt-get install -yq tzdata && \
@@ -13,10 +13,10 @@ WORKDIR /usr/app
13
COPY package.json ./
14
COPY .npmrc ./
15
ENV PUPPETEER_SKIP_DOWNLOAD="true"
16
-RUN pnpm ci --force
+RUN npm install --force
17
RUN cp -R node_modules prod_node_modules
18
COPY . .
19
-RUN pnpm run build
+RUN npm run build
20
##### Stage 2 - Production
21
FROM builder as production
22
WORKDIR /usr/app
@@ -25,4 +25,4 @@ COPY --from=builder /usr/app/package*.json ./
25
26
ENV NODE_ENV=production
27
COPY --from=builder /usr/app/.svelte-kit ./.svelte-kit
28
-CMD [ "pnpm", "start" ]
+CMD [ "npm", "start" ]
0 commit comments