fix: problèmes docker depuis couleuvre

Ajouter `config/` à `build` step

Réorganiser ordre de flags et commande dans `services.server.command`
This commit is contained in:
Victor Lacasse-Beaudoin 2023-12-04 19:19:19 -05:00
parent 7fcc647fb0
commit 4e054f988b
2 changed files with 3 additions and 1 deletions

View file

@ -11,6 +11,8 @@ COPY go.mod go.sum main.go ./
ADD cmd/ cmd/
ADD config/ config/
ADD data/ data/
ADD handlers/ handlers/

View file

@ -8,7 +8,7 @@ services:
volumes:
- 'config:/app/config'
- 'contenu:/app/contenu'
command: ['babillard', 'server', '--config', '/app/config/.babillard.yaml']
command: ['babillard', '--config', '/app/config/.babillard.yaml', 'server']
volumes:
config: