This commit is contained in:
parent
fe14e119f5
commit
1d918a19d0
@ -1,5 +1,4 @@
|
|||||||
FROM node:16-alpine AS BUILD_IMAGE
|
FROM node:16 AS BUILD_IMAGE
|
||||||
|
|
||||||
|
|
||||||
# install dependencies
|
# install dependencies
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
@ -16,7 +15,7 @@ RUN npm run build
|
|||||||
# remove development dependencies
|
# remove development dependencies
|
||||||
RUN npm prune --production
|
RUN npm prune --production
|
||||||
|
|
||||||
FROM node:16-alpine
|
FROM node:16
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=0 /app .
|
COPY --from=0 /app .
|
||||||
|
Loading…
Reference in New Issue
Block a user