mirror of
https://github.com/StefBuwalda/cal_counter.git
synced 2025-10-29 19:00:00 +00:00
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.
8 lines
117 B
Bash
8 lines
117 B
Bash
#!/bin/sh
|
|
set -ex
|
|
|
|
echo "Running database migrations..."
|
|
flask db upgrade
|
|
|
|
echo "Starting Flask app..."
|
|
python app.py |