Ajout du Dockerfile pour un prochain déploiement
This commit is contained in:
parent
8ce9b82863
commit
1644ac32c9
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
FROM node:alpine
|
||||||
|
|
||||||
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
COPY . /usr/src/app
|
||||||
|
|
||||||
|
RUN npm install -g @angular/cli
|
||||||
|
RUN npm install
|
||||||
|
|
||||||
|
CMD ["ng", "serve", "--host", "0.0.0.0"]
|
@ -25,3 +25,10 @@ Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To u
|
|||||||
## Further help
|
## Further help
|
||||||
|
|
||||||
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
|
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
|
||||||
|
|
||||||
|
|
||||||
|
pour run le docker :
|
||||||
|
```
|
||||||
|
sudo docker build -t abonentendeur .
|
||||||
|
sudo docker run -d -p 4200:4200 abonentendeur
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user