Updated development Dockerfile and entrypoint per Gemini's recommendations

This commit is contained in:
Gregory Ballantine
2026-04-13 11:43:56 -04:00
parent b19c95187b
commit 3dbc11d294
2 changed files with 23 additions and 10 deletions

View File

@@ -1,7 +1,9 @@
#!/bin/bash
if [ ! -f ./data/gamedata.db ]; then
rake db:migrate
fi
# Run the migrations to make sure the DB is up-to-date
echo 'Checking database status...'
rake db:migrate
# Start the HTTP server
echo 'Starting development server...'
rake server:dev