Create a Dockerfile for production builds

This commit is contained in:
Cameron Cordes
2020-03-06 15:28:55 -05:00
committed by Cameron Cordes
parent 42543f0abe
commit 0ae1debc4a
2 changed files with 8 additions and 0 deletions

4
Dockerfile Normal file
View File

@@ -0,0 +1,4 @@
FROM node:10.19.0-alpine3.9
WORKDIR /app
VOLUME /app /app/dist
ENTRYPOINT npm install && npm install -g @angular/cli@8.2.7 && ng build --prod