update node to v16 in docker
This commit is contained in:
parent
e34898ad1f
commit
2be39758d6
@ -1,4 +1,4 @@
|
|||||||
FROM node:14 as base
|
FROM node:16 as base
|
||||||
|
|
||||||
# Create app directory
|
# Create app directory
|
||||||
RUN mkdir -p /opt/app
|
RUN mkdir -p /opt/app
|
||||||
@ -18,7 +18,7 @@ RUN npm run build
|
|||||||
# Final image
|
# Final image
|
||||||
#####################
|
#####################
|
||||||
|
|
||||||
FROM node:14-alpine
|
FROM node:16-alpine
|
||||||
ENV NODE_ENV=prod
|
ENV NODE_ENV=prod
|
||||||
|
|
||||||
MAINTAINER cracker0dks
|
MAINTAINER cracker0dks
|
||||||
|
Loading…
x
Reference in New Issue
Block a user