From 0e3640c24625c6926b74373782c26ef0d45aff68 Mon Sep 17 00:00:00 2001 From: jflattery <6561797+jflattery@users.noreply.github.com> Date: Thu, 24 Mar 2022 15:38:02 +0000 Subject: [PATCH] Upgrade Node to v16 As Node.JS v12 is EOL in April 2022, project should move to a newer version. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0c14cb7e..39111c19 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ ### STAGE 0: Build client ### -FROM node:12-alpine AS build +FROM node:16-alpine AS build WORKDIR /client COPY /client /client RUN npm install RUN npm run generate ### STAGE 1: Build server ### -FROM node:12-alpine +FROM node:16-alpine RUN apk update && apk add --no-cache --update ffmpeg ENV NODE_ENV=production COPY --from=build /client/dist /client/dist