Update image build process
Some checks failed
Docker Build and Push / build-and-push (push) Failing after 48s
Some checks failed
Docker Build and Push / build-and-push (push) Failing after 48s
This commit is contained in:
@@ -24,9 +24,8 @@ RUN useradd -m bot
|
||||
USER bot
|
||||
|
||||
# Create directories for persistent storage and modify permissions
|
||||
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
|
||||
RUN mkdir -p /app/logs && chown -R bot:bot /app/logs && chmod -R 777 /app/logs
|
||||
RUN mkdir -p /app/embed && chown -R bot:bot /app/embed && chmod -R 777 /app/embed
|
||||
|
||||
# Set environment variables for configuration
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
|
Reference in New Issue
Block a user