Update volume mount and enable shell debug mode

Changed the Docker volume mount to map ./data to /app/instance instead of /app/data in docker-compose.yaml. Also enabled shell debug mode in entrypoint.sh by adding the -x flag to 'set -e' for easier troubleshooting.
This commit is contained in:
2025-08-11 01:31:06 +02:00
parent 135e226db8
commit f9760cae07
2 changed files with 2 additions and 2 deletions

View File

@@ -6,4 +6,4 @@ services:
ports:
- "5000:80" # change if needed
volumes:
- ./data:/app/data # maps host ./data to container /app/data
- ./data:/app/instance # maps host ./data to container /app/data

View File

@@ -1,5 +1,5 @@
#!/bin/sh
set -e
set -ex
echo "Running database migrations..."
flask db upgrade