diff --git a/Dockerfile b/Dockerfile index 732f1df9..25805cb5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ FROM node:14-alpine AS build -ENV NODE_ENV=production WORKDIR /usr/src/app COPY package.json package-lock.json ./ RUN npm install COPY . . +ENV NODE_ENV=production RUN npm run build:app FROM nginx:1.17-alpine