FastAPI-Oauth2/Dockerfile

6 lines
174 B
Docker

FROM tiangolo/uvicorn-gunicorn-fastapi:python3.8-slim
ENV DOCKER=1
COPY ./requirements.txt /
RUN pip install -r /requirements.txt && rm /requirements.txt
COPY ./app /app/app