Clean up build process

This commit is contained in:
2021-08-04 23:18:55 -04:00
parent 2e300a9964
commit 3c5e3324a7
9 changed files with 31 additions and 13 deletions

View File

@@ -1,5 +1,9 @@
FROM node
RUN mkdir /app
RUN cd /app
WORKDIR /app
COPY package.json package.json
COPY package-lock.json package-lock.json
@@ -7,6 +11,7 @@ RUN npm install
COPY . .
RUN npm run build
RUN npm run ng build api --configuration production
RUN npm run ng build client
CMD [ "npm", "run", "prod" ]