diff --git a/dockerfile b/dockerfile index eaa8592..5cac93f 100644 --- a/dockerfile +++ b/dockerfile @@ -23,8 +23,8 @@ RUN groupadd -r bot && useradd -r -g bot bot COPY --chown=bot:bot . . # Create directories for persistent storage and modify permissions -RUN chown -R bot:bot /* && \ - chmod -R 777 /* +RUN chown -R bot:bot /app && \ + chmod -R 777 /app RUN mkdir -p logs && \ chown -R bot:bot logs && \ chmod -R 777 logs && \