From 24edf4a01afe0af3671dcc43f6d145c1f0ffb503 Mon Sep 17 00:00:00 2001 From: PSNAppZ Date: Fri, 21 Jun 2024 11:05:24 +0530 Subject: [PATCH] Add gunicorn dependency to mapper-api docker --- .github/workflows/openapi-push.yml | 2 +- Dockerfile | 3 ++- test-requirements.txt | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/openapi-push.yml b/.github/workflows/openapi-push.yml index 6cd24fb..f41a0bc 100644 --- a/.github/workflows/openapi-push.yml +++ b/.github/workflows/openapi-push.yml @@ -23,7 +23,7 @@ jobs: python-version: "3.10" - name: Install app run: | - python -m pip install git+https://github.com/openg2p/openg2p-fastapi-common@1.0.0\#subdirectory=openg2p-fastapi-common + python -m pip install git+https://github.com/openg2p/openg2p-fastapi-common@1.1.0\#subdirectory=openg2p-fastapi-common python -m pip install git+https://github.com/openg2p/openg2p-g2pconnect-common-lib@1.1.0\#subdirectory=openg2p-g2pconnect-common-lib python -m pip install git+https://github.com/openg2p/openg2p-g2pconnect-common-lib@1.1.0\#subdirectory=openg2p-g2pconnect-mapper-lib python -m pip install . diff --git a/Dockerfile b/Dockerfile index 6d2165b..439558a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,8 @@ ADD --chown=${container_user}:${container_user_group} . /app/src ADD --chown=${container_user}:${container_user_group} main.py /app RUN python3 -m pip install \ - git+https://github.com/openg2p/openg2p-fastapi-common@develop\#subdirectory=openg2p-fastapi-common \ + gunicorn \ + git+https://github.com/openg2p/openg2p-fastapi-common@1.1.0\#subdirectory=openg2p-fastapi-common \ git+https://github.com/OpenG2P/openg2p-g2pconnect-common-lib@1.1.0\#subdirectory=openg2p-g2pconnect-common-lib \ git+https://github.com/OpenG2P/openg2p-g2pconnect-common-lib@1.1.0\#subdirectory=openg2p-g2pconnect-mapper-lib \ ./src diff --git a/test-requirements.txt b/test-requirements.txt index 77b2dd9..fd1011a 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,5 +1,5 @@ pytest-asyncio pytest-cov -git+https://github.com/openg2p/openg2p-fastapi-common@develop#subdirectory=openg2p-fastapi-common +git+https://github.com/openg2p/openg2p-fastapi-common@1.1.0#subdirectory=openg2p-fastapi-common git+https://github.com/openg2p/openg2p-g2pconnect-common@1.1.0#subdirectory=openg2p-g2pconnect-common-lib git+https://github.com/OpenG2P/openg2p-g2pconnect-common@1.1.0#subdirectory=openg2p-g2pconnect-mapper-lib