Use requirements.txt

This commit is contained in:
Jimmy 2021-12-04 01:16:01 +13:00
parent c5c57e14d6
commit c485861875
1 changed files with 2 additions and 9 deletions

View File

@ -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