### STAGE 1:Build ###
FROM nexus3.gsstcloud.com:8092/ddl/ddl-fe-base:latest

## Remove default nginx website
RUN rm -rf /usr/share/nginx/html/*

## From 'builder' stage copy over the artifacts in dist folder to default nginx public folder
COPY dist/ /usr/share/nginx/html

CMD ["nginx", "-g", "daemon off;"]
