From 51e4edd37a44e2a049bd43b44fa33f7af6160fa7 Mon Sep 17 00:00:00 2001 From: imnyang Date: Thu, 12 Mar 2026 18:54:41 +0900 Subject: [PATCH] fixed permission error --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index f226df7..594ce2c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -48,17 +48,17 @@ RUN adduser \ --uid "${UID}" \ imnyang +RUN mkdir -p /app +RUN chmod -R 755 /app +RUN mkdir -p /app/uploads +RUN chown -R imnyang:imnyang /app + # Drop privileges for runtime. 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. ENV ROCKET_ADDRESS=0.0.0.0