Use requirements.txt
This commit is contained in:
parent
c5c57e14d6
commit
c485861875
11
Dockerfile
11
Dockerfile
|
@ -1,13 +1,6 @@
|
|||
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.8-slim
|
||||
ENV DOCKER=1
|
||||
|
||||
RUN pip install fastapi \
|
||||
fastapi-responses \
|
||||
uvicorn[standard] \
|
||||
python-jose[cryptography] \
|
||||
pytest \
|
||||
requests \
|
||||
pytest-asyncio \
|
||||
passlib \
|
||||
python-multipart
|
||||
COPY requirements.txt /app/requirements.txt
|
||||
RUN pip install -r /app/requirements.txt
|
||||
COPY ./app /app/app
|
Loading…
Reference in New Issue