managarten/apps/storage/apps/backend/docker-entrypoint.sh
Till-JS a12c7e5f32 feat(docker): add Dockerfiles for presi and storage apps
Add production-ready Dockerfiles for:
- presi-backend (port 3008)
- presi-web (port 5178)
- storage-backend (port 3019, with S3/MinIO)
- storage-web (port 5185)

Each backend includes docker-entrypoint.sh for auto-migrations.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 13:55:23 +01:00

9 lines
231 B
Bash

#!/bin/sh
set -e
echo "Running database migrations..."
npx drizzle-kit push --config drizzle.config.ts --force || echo "Migration failed, continuing anyway..."
# Start the application
echo "Starting Storage Backend..."
exec "$@"