mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 02:57:34 +00:00
feat: use node 15, use package version (#2066)
This commit is contained in:
+2
-3
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user