Update image build process
This commit is contained in:
1 parent
a28e2d49fd
commit
02c2d75020
1 file changed
+2
-2
+2
-2
@@ -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 && \
|
||||
|
||||
Reference in new issue
Block a user