Compare commits
No commits in common. "ff12b401ce95db0ade14c8f55bfdb753ee08c197" and "88434987260f465f89f21c950021f54b6d6cf9e8" have entirely different histories.
ff12b401ce
...
8843498726
@ -10,4 +10,4 @@ COPY . .
|
|||||||
|
|
||||||
ENV PYTHONUNBUFFERED=1
|
ENV PYTHONUNBUFFERED=1
|
||||||
|
|
||||||
ENTRYPOINT ["fastapi", "run", "main.py", "--port", "1239"]
|
ENTRYPOINT ["python", "main.py"]
|
||||||
|
7
main.py
7
main.py
@ -22,3 +22,10 @@ async def unicorn_exception_handler(request: fastapi.Request, exc: Exception):
|
|||||||
)
|
)
|
||||||
|
|
||||||
mongo.create_indexes()
|
mongo.create_indexes()
|
||||||
|
|
||||||
|
import logging, sys
|
||||||
|
logging.getLogger().addHandler(logging.StreamHandler(sys.stdout))
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
uvicorn.run(app, host="0.0.0.0", port=1239)
|
||||||
|
@ -5,40 +5,20 @@ certifi==2024.12.14
|
|||||||
charset-normalizer==3.4.1
|
charset-normalizer==3.4.1
|
||||||
click==8.1.7
|
click==8.1.7
|
||||||
dnspython==2.7.0
|
dnspython==2.7.0
|
||||||
email_validator==2.2.0
|
|
||||||
fastapi==0.115.4
|
fastapi==0.115.4
|
||||||
fastapi-cli==0.0.7
|
|
||||||
h11==0.14.0
|
h11==0.14.0
|
||||||
httpcore==1.0.7
|
|
||||||
httptools==0.6.4
|
|
||||||
httpx==0.28.1
|
|
||||||
idna==3.10
|
idna==3.10
|
||||||
Jinja2==3.1.5
|
|
||||||
markdown-it-py==3.0.0
|
|
||||||
MarkupSafe==3.0.2
|
|
||||||
mdurl==0.1.2
|
|
||||||
motor==3.6.0
|
motor==3.6.0
|
||||||
pydantic==2.9.2
|
pydantic==2.9.2
|
||||||
pydantic_core==2.23.4
|
pydantic_core==2.23.4
|
||||||
Pygments==2.18.0
|
|
||||||
pymongo==4.9.2
|
pymongo==4.9.2
|
||||||
python-dotenv==1.0.1
|
|
||||||
python-multipart==0.0.20
|
|
||||||
pytz==2024.2
|
pytz==2024.2
|
||||||
PyYAML==6.0.2
|
|
||||||
redis==5.2.0
|
redis==5.2.0
|
||||||
requests==2.32.3
|
requests==2.32.3
|
||||||
rich==13.9.4
|
|
||||||
rich-toolkit==0.12.0
|
|
||||||
shellingham==1.5.4
|
|
||||||
six==1.16.0
|
six==1.16.0
|
||||||
sniffio==1.3.1
|
sniffio==1.3.1
|
||||||
starlette==0.41.2
|
starlette==0.41.2
|
||||||
typer==0.15.1
|
|
||||||
typing_extensions==4.12.2
|
typing_extensions==4.12.2
|
||||||
tzlocal==5.2
|
tzlocal==5.2
|
||||||
urllib3==2.3.0
|
urllib3==2.3.0
|
||||||
uvicorn==0.32.0
|
uvicorn==0.32.0
|
||||||
uvloop==0.21.0
|
|
||||||
watchfiles==1.0.3
|
|
||||||
websockets==14.1
|
|
||||||
|
Loading…
Reference in New Issue
Block a user