From 74c232f2273fb95dfd10ded2d45f6a683e4a570c Mon Sep 17 00:00:00 2001 From: Jens Luedicke Date: Tue, 1 Jul 2025 13:10:50 +0200 Subject: [PATCH] Set proper permissions for data volume. --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5707408..fb37edb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,11 +23,12 @@ RUN pip install --no-cache-dir -r requirements.txt # Copy the rest of the application COPY . . -RUN mkdir /data - # Create the SQLite database directory with proper permissions RUN mkdir -p /app/instance && chmod 777 /app/instance +RUN mkdir /data +RUN chmod 777 /data + # Expose the port the app runs on EXPOSE 5000