Add dependencies and use uvicorn

This commit is contained in:
Jimmy 2022-01-17 05:25:02 +00:00
parent 6df31460e8
commit af0954b6ff
1 changed files with 6 additions and 2 deletions

View File

@ -6,5 +6,9 @@ RUN pip install \
passlib \
python-multipart \
docker \
aiodocker
aiodocker \
sse-starlette \
anyio
COPY ./app /app/app
CMD ["uvicorn", "app.main:app", "--proxy-headers", "--host", "0.0.0.0", "--port", "80"]