Files
eventspace/backend/entrypoint.sh
Felipe Cardoso 3f1e1320f2 Add initial Docker and Alembic setup
Introduce a `docker-compose.yml` to define the services for backend and database with health checks. Add Alembic configurations for database migrations and an initial empty migration. Include backend-related Docker setup with an entrypoint script for database migration execution.
2025-02-27 12:50:44 +01:00

8 lines
145 B
Bash

#!/bin/bash
set -e
echo "Starting Backend"
# Apply database migrations
alembic upgrade head
# Execute the command passed to docker run
exec "$@"