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 cmd/ cmd/
|
||||||
|
|
||||||
|
ADD config/ config/
|
||||||
|
|
||||||
ADD data/ data/
|
ADD data/ data/
|
||||||
|
|
||||||
ADD handlers/ handlers/
|
ADD handlers/ handlers/
|
||||||
|
|
|
@ -8,7 +8,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- 'config:/app/config'
|
- 'config:/app/config'
|
||||||
- 'contenu:/app/contenu'
|
- 'contenu:/app/contenu'
|
||||||
command: ['babillard', 'server', '--config', '/app/config/.babillard.yaml']
|
command: ['babillard', '--config', '/app/config/.babillard.yaml', 'server']
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
config:
|
config:
|
||||||
|
|
Loading…
Reference in a new issue