API/Dockerfile

15 lines
309 B
Docker
Raw Normal View History

2022-01-11 04:18:03 +00:00
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.9-slim
2021-09-12 08:45:44 +00:00
ENV DOCKER=1
2022-01-15 07:35:11 +00:00
RUN pip install \
python-jose \
passlib \
python-multipart \
docker \
2022-01-17 05:25:02 +00:00
aiodocker \
sse-starlette \
anyio
COPY ./app /app/app
CMD ["uvicorn", "app.main:app", "--proxy-headers", "--host", "0.0.0.0", "--port", "80"]