fix docker data permissions

This commit is contained in:
2025-06-02 21:30:07 +02:00
parent ea841e4d54
commit b72acbf912
2 changed files with 4 additions and 2 deletions

View File

@@ -22,7 +22,9 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# Create necessary directories and set permissions
RUN mkdir -p /app/uploads /app/static/uploads && \
RUN mkdir -p /data/rooms && \
chown -R celery:celery /data && \
chmod -R 755 /data && \
chown -R celery:celery /app
# Create and set up startup script