We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcb79bf commit d11d29bCopy full SHA for d11d29b
Dockerfile
@@ -1,13 +1,13 @@
1
-FROM node:17 AS BUILD_IMAGE
+FROM node:16 AS BUILD_IMAGE
2
RUN curl -sfL https://install.goreleaser.com/github.com/tj/node-prune.sh | bash -s -- -b /usr/local/bin
3
WORKDIR /build
4
COPY . .
5
RUN npm ci && npm run build
6
RUN npm prune --production
7
RUN /usr/local/bin/node-prune
8
9
-FROM node:17-alpine
+FROM node:16-alpine
10
WORKDIR /usr/src/pow-shield
11
COPY --from=BUILD_IMAGE /build/dist .
12
COPY --from=BUILD_IMAGE /build/node_modules ./node_modules
13
-CMD [ "node", "bin/server.js" ]
+CMD [ "node", "bin/server.js" ]
0 commit comments