Upgrade Node.js version in frontend Dockerfile

master
Tudor Stanciu 2024-07-14 02:55:05 +03:00
parent e80d246fc0
commit 958fa44344
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# BUILD ENVIRONMENT # BUILD ENVIRONMENT
FROM node:14-slim as builder FROM node:16-slim as builder
WORKDIR /app WORKDIR /app
ARG APP_SUBFOLDER="" ARG APP_SUBFOLDER=""
@ -15,7 +15,7 @@ COPY . ./
RUN if [ -z "$APP_SUBFOLDER" ]; then npm run build; else PUBLIC_URL=/${APP_SUBFOLDER}/ npm run build; fi RUN if [ -z "$APP_SUBFOLDER" ]; then npm run build; else PUBLIC_URL=/${APP_SUBFOLDER}/ npm run build; fi
# PRODUCTION ENVIRONMENT # PRODUCTION ENVIRONMENT
FROM node:14-slim FROM node:16-slim
ARG APP_SUBFOLDER="" ARG APP_SUBFOLDER=""