mirror of
https://dev.azure.com/tstanciu94/NetworkResurrector/_git/NetworkResurrector
synced 2025-06-21 19:17:04 +03:00
Update Dockerfile to use Node.js 23-slim for both build and production environments
This commit is contained in:
parent
5ac3ec74b6
commit
984ee08a95
@ -1,5 +1,5 @@
|
||||
# BUILD ENVIRONMENT
|
||||
FROM node:20-slim AS builder
|
||||
FROM node:23-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:20-slim
|
||||
FROM node:23-slim
|
||||
|
||||
ARG APP_SUBFOLDER=""
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user