diff --git a/Dockerfile b/Dockerfile index e3138455b60..807acaa86d9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,15 @@ -FROM node:13.8.0-alpine as ts-builder +FROM node:14.15.0-alpine as ts-builder WORKDIR /app COPY . /app RUN npm install --ignore-scripts && npm run build -FROM node:13.8.0-alpine as dep-builder +FROM node:14.15.0-alpine as dep-builder WORKDIR /app COPY package.json clean-nm.sh /app/ RUN apk add --no-cache --update build-base python2 RUN npm install --production && sh /app/clean-nm.sh -FROM node:13.8.0-alpine as app +FROM node:14.15.0-alpine as app WORKDIR /app ENV NODE_PRODUTION true COPY data /app/data