Skip to content

Commit a848507

Browse files
committed
Upgrade node base image version to 14
1 parent 0e1c1f9 commit a848507

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
FROM node:12.18.2-alpine3.11 AS deps
1+
ARG NODEIMG=node:14.15.1-alpine3.12
2+
3+
FROM $NODEIMG AS deps
24

35
WORKDIR /app
46

@@ -11,7 +13,7 @@ RUN find src \! -name "package.json" \
1113
-print \
1214
| xargs rm -rf
1315

14-
FROM node:12.18.2-alpine3.11
16+
FROM $NODEIMG
1517

1618
ENV NODE_ENV production
1719

0 commit comments

Comments
 (0)