Create a Dockerfile for production builds
This commit is contained in:
committed by
Cameron Cordes
parent
42543f0abe
commit
0ae1debc4a
4
.dockerignore
Normal file
4
.dockerignore
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
.git*
|
||||||
|
.idea/
|
||||||
|
dist/
|
||||||
|
Dockerfile
|
||||||
4
Dockerfile
Normal file
4
Dockerfile
Normal 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
|
||||||
Reference in New Issue
Block a user