The app would not reload automatically when changes are made to the application, I think --live-reload option would also work but I have not tested it with --live-reload
11 lines
161 B
Docker
Executable File
11 lines
161 B
Docker
Executable File
FROM node:10
|
|
|
|
RUN mkdir /project
|
|
WORKDIR /project
|
|
|
|
COPY . .
|
|
|
|
RUN npm install -g @angular/cli
|
|
RUN yarn install
|
|
CMD ["ng", "serve", "--host", "0.0.0.0", "--poll"]
|