Se recurre a usar imagenes pre-compiladas para evitar carga en el
servidor
This commit is contained in:
@@ -3,7 +3,7 @@ WORKDIR /angular
|
||||
COPY package.json package-lock.json /angular/
|
||||
RUN npm install
|
||||
COPY . /angular
|
||||
RUN npm run prod
|
||||
RUN npm run build
|
||||
|
||||
FROM nginx:stable-alpine
|
||||
COPY --from=build /angular/dist/frontend /usr/share/nginx/html
|
||||
|
||||
Reference in New Issue
Block a user