From 17613ec4df5d156b5021ab794e3775b9b9280891 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20Pailharey?= <rpailharey@grandlyon.com>
Date: Wed, 20 Sep 2023 11:20:20 +0200
Subject: [PATCH] fix: ignore mkdir if folders exist

---
 Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index 74d6461..f4efa81 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -38,7 +38,7 @@ RUN CGO_ENABLED=0 go build \
     -ldflags='-w -s -extldflags "-static"' -a \
     -o /app/backoffice-server .
 
-RUN mkdir /app/mnt /app/mnt/configs
+RUN mkdir -p /app/mnt /app/mnt/configs
 
 RUN chown -Rf "${UID}" ./*
 
-- 
GitLab