From 7711110749a752d73f33794a403bf9e2e2d3afdf Mon Sep 17 00:00:00 2001 From: fengkx Date: Thu, 5 Nov 2020 16:35:41 +0800 Subject: [PATCH] chore: update node 14 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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