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
|
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.8-slim
|
||||||
ENV DOCKER=1
|
ENV DOCKER=1
|
||||||
|
|
||||||
RUN pip install fastapi \
|
COPY requirements.txt /app/requirements.txt
|
||||||
fastapi-responses \
|
RUN pip install -r /app/requirements.txt
|
||||||
uvicorn[standard] \
|
|
||||||
python-jose[cryptography] \
|
|
||||||
pytest \
|
|
||||||
requests \
|
|
||||||
pytest-asyncio \
|
|
||||||
passlib \
|
|
||||||
python-multipart
|
|
||||||
COPY ./app /app/app
|
COPY ./app /app/app
|
Loading…
Reference in New Issue