Skip to content

Commit

Permalink
Add gunicorn dependency to mapper-api docker
Browse files Browse the repository at this point in the history
  • Loading branch information
PSNAppz committed Jun 21, 2024
1 parent d6b7c8c commit 24edf4a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/openapi-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]\#subdirectory=openg2p-g2pconnect-common-lib
python -m pip install git+https://github.com/openg2p/[email protected]\#subdirectory=openg2p-g2pconnect-mapper-lib
python -m pip install .
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]\#subdirectory=openg2p-fastapi-common \
git+https://github.com/OpenG2P/[email protected]\#subdirectory=openg2p-g2pconnect-common-lib \
git+https://github.com/OpenG2P/[email protected]\#subdirectory=openg2p-g2pconnect-mapper-lib \
./src
Expand Down
2 changes: 1 addition & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
@@ -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/[email protected]#subdirectory=openg2p-g2pconnect-common-lib
git+https://github.com/OpenG2P/[email protected]#subdirectory=openg2p-g2pconnect-mapper-lib

0 comments on commit 24edf4a

Please sign in to comment.