Files
chill_hugoplate/README.md

31 lines
620 B
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Démarrage avec Docker
## Builder ou re-builder l'image Docker
Pour construire ou reconstruire l'image Docker (forcer le rebuild même si une image existe déjà) :
```bash
docker build --no-cache -t chill-site:latest .
```
## Lancer le site en local avec un nom de conteneur
```bash
docker run --name chill-site-container -p 1313:1313 -d chill-site:latest
```
Pour relancer après un arrêt :
```bash
docker start chill-site-container
```
Pour supprimer le conteneur (si besoin de re-builder et relancer) :
```bash
docker rm -f chill-site-container
```
Le site sera accessible sur http://localhost:1313