Switch to Fastapi

This commit is contained in:
Jimmy 2021-07-28 21:48:30 +12:00
parent 1ddd966b38
commit b8267c2040
1 changed files with 4 additions and 4 deletions

View File

@ -1,11 +1,11 @@
FROM python:slim FROM tiangolo/uvicorn-gunicorn-fastapi:python3.7
ENV DOCKER=1 ENV DOCKER=1
RUN pip install aiohttp RUN pip install fastapi-responses
COPY src /src COPY ./app /app/app
CMD [ "python", "/src/main.py"]