From bfdc66218ce9a9ef99a078e307c42b234a7e8682 Mon Sep 17 00:00:00 2001 From: liushuyu Date: Fri, 22 Oct 2021 01:55:04 -0600 Subject: [PATCH] Dockerfile: use official image from Node.js --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index cefbfae..5237772 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mhart/alpine-node:latest AS build +FROM node:16-alpine AS build # Create app directory WORKDIR /usr/src/app @@ -9,7 +9,7 @@ COPY src/ ./src RUN yarn install && yarn build && rm -f dist/*.map # Second stage -FROM mhart/alpine-node:latest +FROM node:16-alpine WORKDIR /usr/src/app