Set proper permissions for data volume.

This commit is contained in:
2025-07-01 13:10:50 +02:00
committed by Jens Luedicke
parent ae0ca14b6f
commit 74c232f227

View File

@@ -23,11 +23,12 @@ RUN pip install --no-cache-dir -r requirements.txt
# Copy the rest of the application # Copy the rest of the application
COPY . . COPY . .
RUN mkdir /data
# Create the SQLite database directory with proper permissions # Create the SQLite database directory with proper permissions
RUN mkdir -p /app/instance && chmod 777 /app/instance RUN mkdir -p /app/instance && chmod 777 /app/instance
RUN mkdir /data
RUN chmod 777 /data
# Expose the port the app runs on # Expose the port the app runs on
EXPOSE 5000 EXPOSE 5000