Files
cal_counter/entrypoint.sh
Stef f9760cae07 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.
2025-08-11 01:31:06 +02:00

8 lines
117 B
Bash

#!/bin/sh
set -ex
echo "Running database migrations..."
flask db upgrade
echo "Starting Flask app..."
python app.py