Switch to fastapi

This commit is contained in:
Jimmy 2021-08-01 13:04:10 +12:00
parent b38f225a28
commit a3dda718e0
1 changed files with 5 additions and 9 deletions

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 && mkdir /files
RUN apt-get update && apt-get install -y git zip && pip install aiohttp b2sdk pytest && mkdir /files RUN pip install fastapi-responses b2sdk pytest
COPY ./app /app/app
RUN mkdir /root/.ssh
COPY src /src
CMD [ "python", "/src/main.py"]