Skip to content

Commit d11d29b

Browse files
committed
Update Dockerfile node version
1 parent bcb79bf commit d11d29b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
FROM node:17 AS BUILD_IMAGE
1+
FROM node:16 AS BUILD_IMAGE
22
RUN curl -sfL https://install.goreleaser.com/github.com/tj/node-prune.sh | bash -s -- -b /usr/local/bin
33
WORKDIR /build
44
COPY . .
55
RUN npm ci && npm run build
66
RUN npm prune --production
77
RUN /usr/local/bin/node-prune
88

9-
FROM node:17-alpine
9+
FROM node:16-alpine
1010
WORKDIR /usr/src/pow-shield
1111
COPY --from=BUILD_IMAGE /build/dist .
1212
COPY --from=BUILD_IMAGE /build/node_modules ./node_modules
13-
CMD [ "node", "bin/server.js" ]
13+
CMD [ "node", "bin/server.js" ]

0 commit comments

Comments
 (0)