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:
parent
7fcc647fb0
commit
4e054f988b
2 changed files with 3 additions and 1 deletions
|
@ -11,6 +11,8 @@ COPY go.mod go.sum main.go ./
|
|||
|
||||
ADD cmd/ cmd/
|
||||
|
||||
ADD config/ config/
|
||||
|
||||
ADD data/ data/
|
||||
|
||||
ADD handlers/ handlers/
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue