forked from noxious/server
Updated Dockerfile
This commit is contained in:
parent
aebe21f140
commit
5e46597e7d
4
start.sh
4
start.sh
@ -59,9 +59,11 @@ 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-esm migration:up; then
|
if ! npx mikro-orm 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user