From 4e054f988b7121bfc37a755eb50a78622ffb42f2 Mon Sep 17 00:00:00 2001 From: Victor Lacasse-Beaudoin Date: Mon, 4 Dec 2023 19:19:19 -0500 Subject: [PATCH] =?UTF-8?q?fix:=20probl=C3=A8mes=20docker=20depuis=20coule?= =?UTF-8?q?uvre?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ajouter `config/` à `build` step Réorganiser ordre de flags et commande dans `services.server.command` --- Dockerfile | 2 ++ docker-compose.yaml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0847470..33f07b9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,8 @@ COPY go.mod go.sum main.go ./ ADD cmd/ cmd/ +ADD config/ config/ + ADD data/ data/ ADD handlers/ handlers/ diff --git a/docker-compose.yaml b/docker-compose.yaml index 31c5229..2171265 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -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: