[update] docker

This commit is contained in:
2023-10-10 04:18:39 +07:00
parent 73359d5f24
commit 9341b05f89
2 changed files with 5 additions and 5 deletions

View File

@@ -7,8 +7,8 @@ RUN npm install -g @angular/cli
ENV PATH="./node_modules/.bin:$PATH"
COPY . ./
RUN ng build --configuration production --base-href /cm-finance-web/ --deploy-url /cm-finance-web/
RUN ng build --configuration production --base-href /cathaypay-web/ --deploy-url /cathaypay-web/
FROM nginx
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=compile-image /opt/ng/dist/cm-finance-web /usr/share/nginx/html
COPY --from=compile-image /opt/ng/dist/cathaypay-web /usr/share/nginx/html