Switch to fastapi
This commit is contained in:
14
Dockerfile
14
Dockerfile
@@ -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
|
Reference in New Issue
Block a user