From e5aebdb6171ef2b8e5113c6f55df090ecbdd5ab4 Mon Sep 17 00:00:00 2001 From: Ezra Khairan Permana Date: Tue, 25 Jun 2024 05:24:08 +0700 Subject: [PATCH] fix: buat folder uploads --- apps/web/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/web/Dockerfile b/apps/web/Dockerfile index b40f6dc..0608ec5 100644 --- a/apps/web/Dockerfile +++ b/apps/web/Dockerfile @@ -91,4 +91,7 @@ COPY --from=builder --chown=nextjs:nodejs /app/apps/web/public ./apps/web/public COPY --from=pruned-repo /app/start-web.sh . +RUN mkdir -p /app/apps/web/public/uploads/ +RUN chown -R ${USER}:${USER} /app/apps/web/public/uploads/ + CMD ["/bin/sh", "/app/start-web.sh"]