Move BASE_URL to the build script

This commit is contained in:
2025-06-28 15:07:39 -07:00
parent fcd03bd904
commit 647d7f876f
10 changed files with 17 additions and 13 deletions
+4 -1
View File
@@ -5,6 +5,9 @@
FROM node:alpine AS build-frontend
WORKDIR /src
# Define base address
ARG BASE_URL=/
# Install the angular CLI
RUN npm install -g @angular/cli
@@ -18,7 +21,7 @@ RUN npm install
COPY ./src/MistoxWebsite.Client/ ./
# Compile the source
RUN ng build
RUN ng build --base-href=${BASE_URL}
#####################
## Build Backend ##