diff --git a/Dockerfile b/Dockerfile index 83cecfca0628a4313caf1025f2ff1dc88da3b2be..f4bb679cf17dcd46d56afe25f246a1d6cd81843c 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