Skip to content
Snippets Groups Projects
Commit e507b353 authored by Benjamin Lecha's avatar Benjamin Lecha :upside_down: Committed by LECHA Benjamin
Browse files

Sample HUGO

parent 3ff41f65
No related branches found
No related tags found
No related merge requests found
......@@ -84,6 +84,15 @@ La définition de chaque service devra être réalisée dans un sous-répertoire
Votre site a été généré dans le dossier `public` avec la commande `hugo`, vérifier la présence du fichier `index.html`.
```
hugo new site formation_docker
cd formation_docker
git init
git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke
echo "theme = 'ananke'" >> hugo.toml
hugo new content posts/my-first-post.md
```
Supprimer le dossier `public`, vous n'en aurez pas besoin puisque vous allez le reconstruire dans le multi-stage.
Écrire un `Dockerfile` multi-stage pour générer votre et héberger votre site dans un conteneur Docker avec un serveur web.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment