feat: use node 15, use package version (#2066)

This commit is contained in:
Jef LeCompte
2021-03-02 12:02:35 -05:00
committed by GitHub
parent 9e8c83622d
commit eee669b1b3
7 changed files with 11811 additions and 28 deletions
+2 -3
View File
@@ -1,4 +1,4 @@
FROM node:15.9.0-alpine3.12 AS builder
FROM node:15.10.0-alpine3.12 AS builder
LABEL org.opencontainers.image.source="https://github.com/jef/streetmerchant"
@@ -15,7 +15,7 @@ COPY src/ src/
RUN npm run compile
RUN npm prune --production
FROM node:15.9.0-alpine3.12
FROM node:15.10.0-alpine3.12
RUN apk add --no-cache chromium
@@ -35,7 +35,6 @@ COPY --from=builder /build/node_modules/ node_modules/
COPY --from=builder /build/build/ build/
COPY web/ web/
COPY package.json package.json
COPY version.txt version.txt
ENTRYPOINT ["npm", "run"]
CMD ["start:production"]