diff --git a/flights-domain/entrypoint.sh b/flights-domain/entrypoint.sh index 408a927..6c6f67f 100755 --- a/flights-domain/entrypoint.sh +++ b/flights-domain/entrypoint.sh @@ -8,4 +8,4 @@ done echo "PostgreSQL started" -python manage.py run -h 0.0.0.0 \ No newline at end of file +python src/api/main.py run -h 0.0.0.0 diff --git a/flights-domain/src/.cicd/test.sh b/flights-domain/src/.cicd/test.sh index c6205ed..9b09ec7 100755 --- a/flights-domain/src/.cicd/test.sh +++ b/flights-domain/src/.cicd/test.sh @@ -2,8 +2,7 @@ if [ "${TEST_TARGET:-}" = "INTEGRATION" ]; then - # Execute your command here - /usr/src/app/.venv/bin/gunicorn manage:app + usr/src/app/.venv/bin/gunicorn src.api.main:app --worker-class uvicorn.workers.UvicornWorker else ## pytest python -m pytest "src/tests" --junitxml=report.xml