diff --git a/app/start-prod.sh b/app/start-prod.sh index b1605f8b..3a91164d 100644 --- a/app/start-prod.sh +++ b/app/start-prod.sh @@ -8,11 +8,10 @@ done echo "PostgreSQL is up - executing Alembic migrations" # Navigate to your project directory (where pyproject.toml is located) -cd /app/app +cd /app # Use poetry to run Alembic migrations poetry run alembic upgrade head -cd /app HOST=${HOST:-0.0.0.0} PORT=${PORT} diff --git a/kubernetes/deployments/gamificationengine-deployment.yaml b/kubernetes/deployments/gamificationengine-deployment.yaml index 738c3b47..29c75aac 100644 --- a/kubernetes/deployments/gamificationengine-deployment.yaml +++ b/kubernetes/deployments/gamificationengine-deployment.yaml @@ -76,6 +76,6 @@ spec: configMapKeyRef: key: VERSION_APP name: env-prod - image: fvergaracl/game:v0.0.006 + image: fvergaracl/game:alpha name: game-api restartPolicy: Always