1
0
forked from noxious/server

Updated Dockerfile

This commit is contained in:
Dennis Postma 2025-02-07 23:11:19 +01:00
parent aebe21f140
commit 5e46597e7d

View File

@ -59,10 +59,12 @@ echo "MySQL is ready!"
# Run migrations with error handling # Run migrations with error handling
echo "Running database migrations..." echo "Running database migrations..."
if ! npx mikro-orm migration:up; then
if ! npx mikro-orm-esm migration:up; then if ! npx mikro-orm-esm migration:up; then
echo "Migration failed" echo "Migration failed"
exit 1 exit 1
fi fi
fi
# Start application in tmux # Start application in tmux
echo "Starting application..." echo "Starting application..."