Revert "chore: optimize Docker build with multi-stage process and add standalone Next.js output (#75)"s

This reverts commit 1707557bea.
This commit is contained in:
Henry
2025-06-12 22:26:59 +01:00
parent 1707557bea
commit d6b0b5cd80
3 changed files with 25 additions and 71 deletions

View File

@@ -1,16 +0,0 @@
#!/bin/sh
# Run migrations from the Turborepo root context
echo "Running database migrations..."
# Navigate to the Turborepo root to run the db:migrate command
pnpm --prefix /app db:migrate
# Check if migration was successful
if [ $? -ne 0 ]; then
echo "\nDatabase migration failed! Exiting."
exit 1
fi
echo "\nStarting Next.js application..."
# Start the Next.js application from the web app's directory
exec node .next/standalone/apps/web/server.js