Browse Source

Switch to Fastapi

master
Jimmy 4 months ago
parent
commit
b8267c2040
  1. 8
      Dockerfile

8
Dockerfile

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

Loading…
Cancel
Save