Switch to fastapi

This commit is contained in:
2021-08-01 13:04:10 +12:00
parent b38f225a28
commit a3dda718e0

View File

@@ -1,10 +1,6 @@
FROM python:slim
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.7
ENV DOCKER=1
RUN apt-get update && apt-get install -y git zip && pip install aiohttp b2sdk pytest && mkdir /files
RUN mkdir /root/.ssh
COPY src /src
CMD [ "python", "/src/main.py"]
RUN apt-get update && apt-get install -y git zip && mkdir /files
RUN pip install fastapi-responses b2sdk pytest
COPY ./app /app/app