Compare commits
4 Commits
b9263eda02
...
1e712db60a
Author | SHA1 | Date |
---|---|---|
Jimmy | 1e712db60a | |
Jimmy | 5faf3fe6d9 | |
Jimmy | c485861875 | |
Jimmy | c5c57e14d6 |
|
@ -3,6 +3,7 @@
|
|||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
requirements.txt
|
||||
|
||||
# C extensions
|
||||
*.so
|
||||
|
|
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
|
13
Pipfile
13
Pipfile
|
@ -7,13 +7,16 @@ name = "pypi"
|
|||
fastapi = "*"
|
||||
fastapi-responses = "*"
|
||||
uvicorn = {extras = ["standard"], version = "*"}
|
||||
python-jose = {extras = ["cryptography"], version = "*"}
|
||||
passlib = "*"
|
||||
python-multipart = "*"
|
||||
|
||||
[dev-packages]
|
||||
# pytest = "*"
|
||||
# requests = "*"
|
||||
# pytest-asyncio = "*"
|
||||
# black = "*"
|
||||
# mypy = "*"
|
||||
pytest = "*"
|
||||
requests = "*"
|
||||
pytest-asyncio = "*"
|
||||
black = "*"
|
||||
mypy = "*"
|
||||
|
||||
[requires]
|
||||
python_version = "3.8"
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
-i https://pypi.org/simple
|
||||
asgiref==3.4.1; python_version >= '3.6'
|
||||
click==8.0.1; python_version >= '3.6'
|
||||
fastapi-responses==0.2.1
|
||||
fastapi==0.68.1
|
||||
h11==0.12.0; python_version >= '3.6'
|
||||
httptools==0.2.0
|
||||
pydantic==1.8.2; python_full_version >= '3.6.1'
|
||||
python-dotenv==0.19.0
|
||||
pyyaml==5.4.1
|
||||
starlette==0.14.2; python_version >= '3.6'
|
||||
typing-extensions==3.10.0.2
|
||||
uvicorn[standard]==0.15.0
|
||||
uvloop==0.16.0
|
||||
watchgod==0.7
|
||||
websockets==10.0
|
Loading…
Reference in New Issue