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
|
||||
WORKDIR /app
|
||||
@ -16,7 +15,7 @@ RUN npm run build
|
||||
# remove development dependencies
|
||||
RUN npm prune --production
|
||||
|
||||
FROM node:16-alpine
|
||||
FROM node:16
|
||||
|
||||
WORKDIR /app
|
||||
COPY --from=0 /app .
|
||||
|
Loading…
Reference in New Issue
Block a user