From 16baed8d0926677c4f61608ee18933c7ad89ac71 Mon Sep 17 00:00:00 2001 From: sina <20732540+SinaKhalili@users.noreply.github.com> Date: Mon, 7 Oct 2024 15:13:06 -0700 Subject: [PATCH] Infra: Update backend dockerfile --- .dockerignore | 2 ++ Dockerfile-backend | 2 +- requirements.txt | 13 +++++++++++-- 3 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..35ad647 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +.venv +cache \ No newline at end of file diff --git a/Dockerfile-backend b/Dockerfile-backend index f5718a2..dd13c0d 100644 --- a/Dockerfile-backend +++ b/Dockerfile-backend @@ -7,4 +7,4 @@ RUN apt-get update && apt-get install -y gcc python3-dev RUN pip install --trusted-host pypi.python.org -r requirements.txt EXPOSE 8000 -CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "8000"] +CMD ["uvicorn", "backend.app:app", "--host", "0.0.0.0", "--port", "8000"] diff --git a/requirements.txt b/requirements.txt index 136aac6..cb7b489 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,6 +4,7 @@ aiosignal==1.3.1 altair==5.3.0 anchorpy==0.20.1 anchorpy-core==0.2.0 +annotated-types==0.7.0 anyio==3.6.2 apischema==0.17.5 async-timeout==4.0.2 @@ -25,7 +26,7 @@ dnspython==2.2.1 driftpy==0.7.88 Events==0.5 exceptiongroup==1.0.4 -humanize==4.10.0 +fastapi==0.115.0 flake8==6.0.0 frozenlist==1.3.3 ghp-import==2.1.0 @@ -35,10 +36,13 @@ grpcio==1.64.1 h11==0.14.0 httpcore==0.16.3 httpx==0.23.1 +humanize==4.10.0 idna==3.4 iniconfig==1.1.1 +Jinja2==3.1.4 jito_searcher_client==0.1.4 jsonalias==0.1.1 +jsonrpcclient==4.0.3 jsonrpcserver==5.0.9 jsonschema==4.17.3 loguru==0.6.0 @@ -56,6 +60,7 @@ mypy==1.10.0 mypy-extensions==1.0.0 numpy==1.26.4 OSlash==0.6.3 +packaging==23.1 pandas==2.2.2 pathspec==0.12.1 pillow==10.3.0 @@ -69,6 +74,8 @@ pyarrow==16.1.0 pycares==4.3.0 pycodestyle==2.10.0 pycparser==2.21 +pydantic==2.9.2 +pydantic_core==2.23.4 pydeck==0.9.1 pyflakes==3.0.1 Pygments==2.18.0 @@ -76,6 +83,7 @@ pyheck==0.1.5 pyrsistent==0.19.2 pythclient==0.1.4 python-dateutil==2.9.0.post0 +python-dotenv==1.0.0 pytz==2024.1 PyYAML==6.0.1 pyyaml_env_tag==0.1 @@ -88,6 +96,7 @@ smmap==5.0.1 sniffio==1.3.0 solana==0.34.0 solders==0.21.0 +starlette==0.38.6 streamlit==1.38.0 sumtypes==0.1a6 tenacity==8.3.0 @@ -101,9 +110,9 @@ types-urllib3==1.26.25.14 typing_extensions==4.12.2 tzdata==2024.1 urllib3==1.26.13 +uvicorn==0.31.0 watchdog==4.0.1 websockets==10.4 wrapt==1.16.0 yarl==1.8.2 zstandard==0.18.0 -python-dotenv==1.0.0