Cambiando directorio

This commit is contained in:
2022-09-18 05:10:08 -03:00
parent ab9d0c0b94
commit 08802a2979
4 changed files with 2 additions and 43 deletions

View File

@@ -1,18 +0,0 @@
FROM node:16 as builder
WORKDIR /usr/app/src
COPY package.json .
COPY package-lock.json .
RUN npm install
COPY . .
RUN npm run build
##################################################################
FROM nginx:latest as deployer
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=builder /usr/app/src/dist /usr/share/nginx/html