From 09ff3e59cfe12002258cce762c5464453ae966cd Mon Sep 17 00:00:00 2001 From: Jens Luedicke Date: Tue, 1 Jul 2025 14:11:20 +0200 Subject: [PATCH] Configure /data as a volume. --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b844869..59e295b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,8 +26,7 @@ COPY . . # Create the SQLite database directory with proper permissions RUN mkdir -p /app/instance && chmod 777 /app/instance -RUN mkdir /data -RUN chmod 777 /data +VOLUME /data # Expose the port the app runs on EXPOSE 5000