generated from Templates/Utility-Image-Builder
Requirements update
Some checks failed
Home Cluster Builds/Image-FastApi-Arm64/pipeline/head There was a failure building this commit
Some checks failed
Home Cluster Builds/Image-FastApi-Arm64/pipeline/head There was a failure building this commit
This commit is contained in:
29
Dockerfile
29
Dockerfile
@@ -1,13 +1,28 @@
|
||||
FROM python:3.8-slim
|
||||
|
||||
# pip install fastapi[all]
|
||||
# pip install requests
|
||||
# pip install selenium
|
||||
# pip install python-dotenv
|
||||
# pip install SQLAlchemy
|
||||
# pip install PyMySQL
|
||||
# pip install mysql-connector-python
|
||||
# pip install beautifulsoup4
|
||||
# pip install Pillow
|
||||
# pip install aiofiles
|
||||
|
||||
|
||||
RUN python3 -m venv /venv
|
||||
|
||||
RUN . /venv/bin/activate && pip install --no-cache-dir anyio==3.6.1 asgiref==3.5.2 \
|
||||
certifi==2022.6.15 charset-normalizer==2.0.12 click==8.1.3 dnspython==2.2.1 email-validator==1.2.1 \
|
||||
fastapi==0.78.0 h11==0.13.0 httptools==0.4.0 idna==3.3 itsdangerous==2.1.2 Jinja2==3.1.2 \
|
||||
MarkupSafe==2.1.1 orjson==3.7.3 pydantic==1.9.1 python-dateutil==2.8.2 python-dotenv==0.20.0 \
|
||||
python-multipart==0.0.5 PyYAML==6.0 requests==2.28.0 six==1.16.0 sniffio==1.2.0 starlette==0.19.1 \
|
||||
typing-extensions==4.2.0 ujson==5.3.0 urllib3==1.26.9 uvicorn==0.17.6 uvloop==0.16.0 watchgod==0.8.2 \
|
||||
websockets==10.3 SQLAlchemy==1.4.42 PyMySQL==1.0.2 mysql-connector-python==8.0.31 xmltodict==0.13.0
|
||||
RUN . /venv/bin/activate && pip install --no-cache-dir \
|
||||
aiofiles==22.1.0 anyio==3.6.2 async-generator==1.10 attrs==22.2.0 beautifulsoup4==4.11.1 \
|
||||
certifi==2022.12.7 charset-normalizer==3.0.1 click==8.1.3 dnspython==2.2.1 email-validator==1.3.0 \
|
||||
exceptiongroup==1.1.0 fastapi==0.89.1 greenlet==2.0.1 h11==0.14.0 httpcore==0.16.3 httptools==0.5.0 \
|
||||
httpx==0.23.3 idna==3.4 itsdangerous==2.1.2 Jinja2==3.1.2 MarkupSafe==2.1.1 mysql-connector-python==8.0.31 \
|
||||
orjson==3.8.5 outcome==1.2.0 Pillow==9.4.0 protobuf==3.20.1 pydantic==1.10.4 PyMySQL==1.0.2 PySocks==1.7.1 \
|
||||
python-dotenv==0.21.0 python-multipart==0.0.5 PyYAML==6.0 requests==2.28.2 rfc3986==1.5.0 selenium==4.7.2 \
|
||||
six==1.16.0 sniffio==1.3.0 sortedcontainers==2.4.0 soupsieve==2.3.2.post1 SQLAlchemy==1.4.46 starlette==0.22.0 \
|
||||
trio==0.22.0 trio-websocket==0.9.2 typing-extensions==4.4.0 ujson==5.7.0 urllib3==1.26.14 uvicorn==0.20.0 \
|
||||
uvloop==0.17.0 watchfiles==0.18.1 websockets==10.4 wsproto==1.2.0
|
||||
|
||||
CMD . /venv/bin/activate && exec python
|
||||
Reference in New Issue
Block a user