From 24a52191e0df24db9b07e23cb570bfb59052d154 Mon Sep 17 00:00:00 2001 From: Mathieu Oriol Date: Fri, 6 Dec 2024 09:35:15 +0100 Subject: [PATCH] creation dossier uploads s'il n'existe pas --- traque-back/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/traque-back/Dockerfile b/traque-back/Dockerfile index 1463db3..fd156a3 100644 --- a/traque-back/Dockerfile +++ b/traque-back/Dockerfile @@ -13,5 +13,7 @@ RUN npm install # Copy the rest of project files into this image COPY . . +RUN if [ ! -d uploads ]; then mkdir uploads fi + # Start the application CMD npm start