Improve directory architecture

This commit is contained in:
2025-08-10 10:53:25 -07:00
parent 3a15c43d1b
commit f57f67191c
4 changed files with 8 additions and 4 deletions

View File

@@ -24,7 +24,9 @@ RUN useradd -m bot
USER bot
# Create directories for persistent storage and modify permissions
RUN mkdir -p /app/logs && chown -R bot:bot /app && chmod -R 777 /app/logs
RUN chown -R bot:bot /app
RUN mkdir -p /app/logs && chmod -R 777 /app/logs
RUN mkdir -p /app/embed && chmod -R 777 /app/embed
# Set environment variables for configuration
ENV PYTHONUNBUFFERED=1