From 3e5477e5f609cff3fa141eff7b62e9aeebb1c4bd Mon Sep 17 00:00:00 2001 From: Will Hunt <will@half-shot.uk> Date: Fri, 6 Nov 2020 17:13:47 +0000 Subject: [PATCH] Bump Dockerfile NodeJS version to 14 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 83cecfc..f4bb679 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:alpine AS BUILD +FROM node:14-alpine AS BUILD COPY . /tmp/src # install some dependencies needed for the build process RUN apk add --no-cache -t build-deps make gcc g++ python ca-certificates libc-dev wget git @@ -6,7 +6,7 @@ RUN cd /tmp/src \ && npm install \ && npm run build -FROM node:alpine +FROM node:14-alpine ENV NODE_ENV=production COPY --from=BUILD /tmp/src/build /build COPY --from=BUILD /tmp/src/config /config -- GitLab