Files
cal_counter/entrypoint.sh
Stef 135e226db8 Add entrypoint script for Docker container
Introduces entrypoint.sh to handle database migrations before starting the Flask app. Updates Dockerfile to use the new entrypoint script and ensures it is executable.
2025-08-11 01:25:02 +02:00

8 lines
116 B
Bash

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