[update] docker
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user