Switch to fastapi
This commit is contained in:
parent
b38f225a28
commit
a3dda718e0
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 && 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"]
|
|
Loading…
Reference in New Issue