Cambiando directorio
This commit is contained in:
18
Dockerfile
18
Dockerfile
@@ -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
|
||||
Reference in New Issue
Block a user