docs: add Docker Hub push instructions to README
This commit is contained in:
1 parent
f82a299877
commit
360ed62c14
1 file changed
+17
@@ -52,6 +52,8 @@ pnpm install
|
|||||||
|
|
||||||
## Docker
|
## Docker
|
||||||
|
|
||||||
|
### Build et exécution locale
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker build -t notes .
|
docker build -t notes .
|
||||||
docker run -p 8080:80 notes
|
docker run -p 8080:80 notes
|
||||||
@@ -59,6 +61,21 @@ docker run -p 8080:80 notes
|
|||||||
|
|
||||||
L'app sera accessible sur http://localhost:8080.
|
L'app sera accessible sur http://localhost:8080.
|
||||||
|
|
||||||
|
### Publication sur Docker Hub
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# 1. Construire l'image avec le tag Docker Hub
|
||||||
|
docker build -t <votre-pseudo>/notes:latest .
|
||||||
|
|
||||||
|
# 2. Se connecter à Docker Hub
|
||||||
|
docker login
|
||||||
|
|
||||||
|
# 3. Pousser l'image
|
||||||
|
docker push <votre-pseudo>/notes:latest
|
||||||
|
```
|
||||||
|
|
||||||
|
Remplacez `<votre-pseudo>` par votre identifiant Docker Hub.
|
||||||
|
|
||||||
## Architecture
|
## Architecture
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in new issue
Block a user