Rewrite with asyncio and FastAPI #5
Squashed commit of the following: commit 6832d62dc8360bd20e92df5554dd36426119a50d Author: Ashish D'Souza <[email protected]> Date: Sun Mar 24 03:17:38 2024 -0500 Converted to asyncio
This commit is contained in:
1 parent
b3a2076416
commit
be3bd11632
24 files changed
+345
-246
No files matched your search
@@ -1,7 +1,8 @@
|
||||
FROM python:3.11
|
||||
WORKDIR /code
|
||||
|
||||
ENTRYPOINT ["python3", "server.py"]
|
||||
ENTRYPOINT ["uvicorn", "webcontrol:api", "--host", "0.0.0.0", "--port", "80"]
|
||||
CMD ["--log-level", "warning"]
|
||||
|
||||
RUN pip3 install --upgrade pip
|
||||
|
||||
|
||||
Reference in new issue
Block a user