Update image build process
Some checks failed
Docker Build and Push / build-and-push (push) Failing after 1m21s

This commit is contained in:
2025-08-11 04:10:29 -07:00
parent e02144e490
commit a28e2d49fd

View File

@@ -23,12 +23,14 @@ RUN groupadd -r bot && useradd -r -g bot bot
COPY --chown=bot:bot . . COPY --chown=bot:bot . .
# Create directories for persistent storage and modify permissions # Create directories for persistent storage and modify permissions
RUN chown -R bot:bot /* && \
chmod -R 777 /*
RUN mkdir -p logs && \ RUN mkdir -p logs && \
chown -R bot:bot logs && \ chown -R bot:bot logs && \
chmod -R 755 logs && \ chmod -R 777 logs && \
mkdir -p embed && \ mkdir -p embed && \
chown -R bot:bot embed && \ chown -R bot:bot embed && \
chmod -R 755 embed chmod -R 777 embed
# Switch to non root user # Switch to non root user
USER bot USER bot