Create a Dockerfile for production builds

This commit is contained in:
Cameron Cordes authored and Cameron Cordes committed 2020-03-06 15:50:55 -05:00
1 parent 42543f0abe
commit 0ae1debc4a
2 files changed
+8

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
.git*
.idea/
dist/
Dockerfile
+4
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