Upgrade Node.js version in frontend Dockerfile
parent
e80d246fc0
commit
958fa44344
|
@ -1,5 +1,5 @@
|
|||
# BUILD ENVIRONMENT
|
||||
FROM node:14-slim as builder
|
||||
FROM node:16-slim as builder
|
||||
WORKDIR /app
|
||||
|
||||
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
|
||||
|
||||
# PRODUCTION ENVIRONMENT
|
||||
FROM node:14-slim
|
||||
FROM node:16-slim
|
||||
|
||||
ARG APP_SUBFOLDER=""
|
||||
|
||||
|
|
Loading…
Reference in New Issue