refactor: add build argument for VITE_BASE_PATH in Dockerfile

This commit is contained in:
Tudor Stanciu 2025-10-05 00:52:27 +03:00
parent f493cd212a
commit fe91e14612

View File

@ -22,6 +22,8 @@ COPY ReleaseNotes.json ./
COPY Overview.json ./ COPY Overview.json ./
# Build both frontend and backend # Build both frontend and backend
ARG APP_SUBFOLDER=""
ENV VITE_BASE_PATH=${APP_SUBFOLDER}
RUN npm run build RUN npm run build
# Stage 2: Production image # Stage 2: Production image