From 25a20d9e3b74db9bcb73ec6de2b1bae11b754919 Mon Sep 17 00:00:00 2001 From: imnyang Date: Thu, 12 Mar 2026 18:53:12 +0900 Subject: [PATCH] Set ownership and permissions for the application directory in Dockerfile --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index d56556b..f226df7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -54,6 +54,9 @@ USER imnyang # Copy only the compiled binary from the build stage. COPY --from=build /bin/server /app/ +RUN chown -R imnyang:imnyang /app +RUN chmod -R 755 /app + RUN mkdir -p /app/uploads # Rocket: listen on all interfaces inside the container.