build: add Dockerfile for application containerization
This commit is contained in:
parent
45d8833be7
commit
9071a2a60f
1 changed files with 11 additions and 0 deletions
11
Dockerfile
Normal file
11
Dockerfile
Normal file
|
@ -0,0 +1,11 @@
|
|||
FROM node:alpine
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY . /usr/src/app
|
||||
|
||||
RUN npm install -g @angular/cli
|
||||
|
||||
RUN npm install
|
||||
|
||||
CMD ["sh", "-c", "ng serve --configuration=${ANGULAR_CONFIG:-development}"]
|
Loading…
Add table
Reference in a new issue