Add dependencies and use uvicorn

This commit is contained in:
2022-01-17 05:25:02 +00:00
parent 6df31460e8
commit af0954b6ff

View File

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