Skip to content

Commit

Permalink
Infra: Update backend dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
SinaKhalili committed Oct 7, 2024
1 parent 18ebbae commit 16baed8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.venv
cache
2 changes: 1 addition & 1 deletion Dockerfile-backend
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
13 changes: 11 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -69,13 +74,16 @@ 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
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
Expand All @@ -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
Expand All @@ -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

0 comments on commit 16baed8

Please sign in to comment.