diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c47c8a719990e280feb93a02a4a1d0db27cd00d1..8e69ed18d17a843bd5585bb90550ff3dc9497672 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -77,7 +77,6 @@ install: lint: stage: test - allow_failure: false before_script: - source ./venv/bin/activate - pip install pycodestyle @@ -98,9 +97,10 @@ test: WEB_ROOT: http://localhost:3000 before_script: - source ./venv/bin/activate - - cd ./backend - - python -m uvicorn main:app --port=80 --host 0.0.0.0 script: + - cd ./backend + - docker build -t app ./backend + - docker run -p 8000:80 app --env-file ./backend/.env - curl "http://localhost/api/health" #######################################################################################################################################