Add dependencies and use uvicorn

This commit is contained in:
jimmy committed 2022-01-17 05:25:02 +00:00
1 parent 6df31460e8
commit af0954b6ff
1 file changed
+6 -2
+6 -2
View File
@@ -6,5 +6,9 @@ RUN pip install \
passlib \ passlib \
python-multipart \ python-multipart \
docker \ docker \
aiodocker aiodocker \
COPY ./app /app/app sse-starlette \
anyio
COPY ./app /app/app
CMD ["uvicorn", "app.main:app", "--proxy-headers", "--host", "0.0.0.0", "--port", "80"]