Agregando cambios para compilar en el servidor

This commit is contained in:
2021-07-27 01:28:27 -04:00
parent c3ec9c34a4
commit 60489afc03
3 changed files with 16200 additions and 103 deletions

View File

@@ -3,7 +3,7 @@ WORKDIR /angular
COPY package.json package-lock.json /angular/
RUN npm install
COPY . /angular
RUN npm run build --prod
RUN npm run prod
FROM nginx:stable-alpine
COPY --from=build /angular/dist/frontend /usr/share/nginx/html