fix: 更新Dockerfile文件
Gitea Action for docker build runtime / build-runtime (push) Successful in 5m53s Details

This commit is contained in:
chenwj113 2024-09-02 10:11:46 +08:00
parent 6d69a18b03
commit fc5d6b8953
4 changed files with 78 additions and 27 deletions

View File

@ -8,6 +8,7 @@ on:
- '*RuntimeDockerfile' - '*RuntimeDockerfile'
- '.gitignore' - '.gitignore'
- 'README.md' - 'README.md'
- 'pyproject.toml'
- '.gitea/workflows/**' - '.gitea/workflows/**'

View File

@ -19,7 +19,7 @@ COPY --from=builder /venv /venv
ENV PATH="/venv/.venv/bin:${PATH}" ENV PATH="/venv/.venv/bin:${PATH}"
RUN chmod a+x /venv/.venv/bin/activate \ RUN chmod a+x /venv/.venv/bin/activate \
&& activate && source /venv/.venv/bin/activate
WORKDIR /app WORKDIR /app

View File

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "fastapi-template" name = "fastapi-template"
version = "0.1.4" version = "0.1.5"
description = "" description = ""
authors = ["chenwj113 <chenwj113@gmail.com>"] authors = ["chenwj113 <chenwj113@gmail.com>"]
license = "MIT" license = "MIT"

View File

@ -1,25 +1,75 @@
aiofiles==22.1.0 --index-url https://pypi.tuna.tsinghua.edu.cn/simple
aioredis==2.0.1
aiomysql==0.1.1 aiojobs==1.2.1 ; python_version >= "3.10" and python_version < "4.0"
bcrypt==4.0.1 aiomysql==0.1.1 ; python_version >= "3.10" and python_version < "4.0"
email_validator>=2.0.0 aioredis==2.0.1 ; python_version >= "3.10" and python_version < "4.0"
fastapi==0.111.0 annotated-types==0.7.0 ; python_version >= "3.10" and python_version < "4.0"
fastapi-plugins==0.13.0 anyio==4.4.0 ; python_version >= "3.10" and python_version < "4.0"
FastAPI-SQLAlchemy==0.2.1 async-timeout==4.0.3 ; python_version >= "3.10" and python_version < "4.0"
pydantic>=2.0.0 authx==1.3.0 ; python_version >= "3.10" and python_version < "4.0"
pydantic-settings==2.2.1 captcha==0.6.0 ; python_version >= "3.10" and python_version < "4.0"
# pydantic-sqlalchemy==0.0.9 certifi==2024.6.2 ; python_version >= "3.10" and python_version < "4.0"
python-multipart>=0.0.7 cffi==1.17.0 ; python_version >= "3.10" and python_version < "4.0" and platform_python_implementation != "PyPy"
pytest==7.2.1 charset-normalizer==3.3.2 ; python_version >= "3.10" and python_version < "4.0"
requests==2.28.2 click==8.1.7 ; python_version >= "3.10" and python_version < "4.0"
sqlacodegen==2.3.0 colorama==0.4.6 ; python_version >= "3.10" and python_version < "4.0" and (sys_platform == "win32" or platform_system == "Windows")
SQLAlchemy==2.0.1 cryptography==43.0.0 ; python_version >= "3.10" and python_version < "4.0"
uvicorn==0.20.0 dnspython==2.6.1 ; python_version >= "3.10" and python_version < "4.0"
PyJWT==2.6.0 ecdsa==0.19.0 ; python_version >= "3.10" and python_version < "4.0"
passlib==1.7.4 email-validator==2.1.1 ; python_version >= "3.10" and python_version < "4.0"
Pillow==9.4.0 exceptiongroup==1.2.1 ; python_version >= "3.10" and python_version < "3.11"
captcha==0.4 fastapi-cli==0.0.4 ; python_version >= "3.10" and python_version < "4.0"
jinja2==3.1.2 fastapi-limiter==0.1.6 ; python_version >= "3.10" and python_version < "4.0"
pycryptodome==3.17 fastapi-plugins==0.13.0 ; python_version >= "3.10" and python_version < "4.0"
qiniu==7.10.0 fastapi-sqlalchemy==0.2.1 ; python_version >= "3.10" and python_version < "4.0"
pytz==2022.7.1 fastapi==0.111.0 ; python_version >= "3.10" and python_version < "4.0"
greenlet==3.0.3 ; python_version >= "3.10" and python_version < "4.0" and (platform_machine == "aarch64" or platform_machine == "ppc64le" or platform_machine == "x86_64" or platform_machine == "amd64" or platform_machine == "AMD64" or platform_machine == "win32" or platform_machine == "WIN32")
h11==0.14.0 ; python_version >= "3.10" and python_version < "4.0"
hiredis==2.3.2 ; python_version >= "3.10" and python_version < "4.0"
httpcore==1.0.5 ; python_version >= "3.10" and python_version < "4.0"
httptools==0.6.1 ; python_version >= "3.10" and python_version < "4.0"
httpx==0.27.0 ; python_version >= "3.10" and python_version < "4.0"
idna==3.7 ; python_version >= "3.10" and python_version < "4.0"
itsdangerous==2.2.0 ; python_version >= "3.10" and python_version < "4.0"
jinja2==3.1.4 ; python_version >= "3.10" and python_version < "4.0"
markdown-it-py==3.0.0 ; python_version >= "3.10" and python_version < "4.0"
markupsafe==2.1.5 ; python_version >= "3.10" and python_version < "4.0"
mdurl==0.1.2 ; python_version >= "3.10" and python_version < "4.0"
orjson==3.10.4 ; python_version >= "3.10" and python_version < "4.0"
passlib==1.7.4 ; python_version >= "3.10" and python_version < "4.0"
pillow==10.4.0 ; python_version >= "3.10" and python_version < "4.0"
pyasn1==0.6.0 ; python_version >= "3.10" and python_version < "4.0"
pycparser==2.22 ; python_version >= "3.10" and python_version < "4.0" and platform_python_implementation != "PyPy"
pydantic-core==2.18.4 ; python_version >= "3.10" and python_version < "4.0"
pydantic-settings==2.3.1 ; python_version >= "3.10" and python_version < "4.0"
pydantic==2.7.3 ; python_version >= "3.10" and python_version < "4.0"
pygments==2.18.0 ; python_version >= "3.10" and python_version < "4.0"
pyjwt[crypto]==2.9.0 ; python_version >= "3.10" and python_version < "4.0"
pymysql==1.1.1 ; python_version >= "3.10" and python_version < "4.0"
python-dateutil==2.9.0.post0 ; python_version >= "3.10" and python_version < "4.0"
python-dotenv==1.0.1 ; python_version >= "3.10" and python_version < "4.0"
python-jose==3.3.0 ; python_version >= "3.10" and python_version < "4.0"
python-json-logger==2.0.7 ; python_version >= "3.10" and python_version < "4.0"
python-multipart==0.0.9 ; python_version >= "3.10" and python_version < "4.0"
pytz==2024.1 ; python_version >= "3.10" and python_version < "4.0"
pyyaml==6.0.1 ; python_version >= "3.10" and python_version < "4.0"
qiniu==7.13.2 ; python_version >= "3.10" and python_version < "4.0"
redis==5.0.5 ; python_version >= "3.10" and python_version < "4.0"
redis[hiredis]==5.0.5 ; python_version >= "3.10" and python_version < "4.0"
requests==2.32.3 ; python_version >= "3.10" and python_version < "4.0"
rich==13.7.1 ; python_version >= "3.10" and python_version < "4.0"
rsa==4.9 ; python_version >= "3.10" and python_version < "4"
shellingham==1.5.4 ; python_version >= "3.10" and python_version < "4.0"
six==1.16.0 ; python_version >= "3.10" and python_version < "4.0"
sniffio==1.3.1 ; python_version >= "3.10" and python_version < "4.0"
sqlalchemy==2.0.0 ; python_version >= "3.10" and python_version < "4.0"
starlette==0.37.2 ; python_version >= "3.10" and python_version < "4.0"
tenacity==8.3.0 ; python_version >= "3.10" and python_version < "4.0"
typer==0.12.3 ; python_version >= "3.10" and python_version < "4.0"
typing-extensions==4.12.2 ; python_version >= "3.10" and python_version < "4.0"
ujson==5.10.0 ; python_version >= "3.10" and python_version < "4.0"
urllib3==2.2.2 ; python_version >= "3.10" and python_version < "4.0"
uvicorn[standard]==0.30.1 ; python_version >= "3.10" and python_version < "4.0"
uvloop==0.19.0 ; (sys_platform != "win32" and sys_platform != "cygwin") and platform_python_implementation != "PyPy" and python_version >= "3.10" and python_version < "4.0"
watchfiles==0.22.0 ; python_version >= "3.10" and python_version < "4.0"
websockets==12.0 ; python_version >= "3.10" and python_version < "4.0"