diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..1456808 --- /dev/null +++ b/Dockerfile @@ -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"] diff --git a/README.md b/README.md index 610e239..468c04c 100644 --- a/README.md +++ b/README.md @@ -25,3 +25,10 @@ Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To u ## 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. + + +pour run le docker : +``` +sudo docker build -t abonentendeur . +sudo docker run -d -p 4200:4200 abonentendeur +```