mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-17 13:09:39 +02:00
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>
9 lines
231 B
Bash
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 "$@"
|