Update
This commit is contained in:
parent
f6ce09a0f5
commit
1daa7ffc9e
@ -20,8 +20,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked,id=core-apt \
|
|||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends gcc python3-dev bash nginx vim curl procps net-tools
|
&& apt-get install -y --no-install-recommends gcc python3-dev bash nginx vim curl procps net-tools
|
||||||
|
|
||||||
RUN pip install uv -i https://pypi.tuna.tsinghua.edu.cn/simple \
|
RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||||
&& uv add --requirements requirements.txt
|
|
||||||
|
|
||||||
COPY --from=web /opt/vue-fastapi-admin/web/dist /opt/vue-fastapi-admin/web/dist
|
COPY --from=web /opt/vue-fastapi-admin/web/dist /opt/vue-fastapi-admin/web/dist
|
||||||
ADD /deploy/web.conf /etc/nginx/sites-available/web.conf
|
ADD /deploy/web.conf /etc/nginx/sites-available/web.conf
|
||||||
|
|||||||
@ -68,6 +68,7 @@ dependencies = [
|
|||||||
"watchfiles==1.0.4",
|
"watchfiles==1.0.4",
|
||||||
"websockets==14.1",
|
"websockets==14.1",
|
||||||
"pyproject-toml>=0.1.0",
|
"pyproject-toml>=0.1.0",
|
||||||
|
"uvloop==0.21.0 ; sys_platform != 'win32'",
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.black]
|
[tool.black]
|
||||||
|
|||||||
5
uv.lock
generated
5
uv.lock
generated
@ -1,5 +1,9 @@
|
|||||||
version = 1
|
version = 1
|
||||||
requires-python = ">=3.11"
|
requires-python = ">=3.11"
|
||||||
|
resolution-markers = [
|
||||||
|
"sys_platform != 'win32'",
|
||||||
|
"sys_platform == 'win32'",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "aerich"
|
name = "aerich"
|
||||||
@ -1083,6 +1087,7 @@ requires-dist = [
|
|||||||
{ name = "ujson", specifier = "==5.10.0" },
|
{ name = "ujson", specifier = "==5.10.0" },
|
||||||
{ name = "uvicorn", specifier = "==0.34.0" },
|
{ name = "uvicorn", specifier = "==0.34.0" },
|
||||||
{ name = "uvloop", specifier = "==0.21.0" },
|
{ name = "uvloop", specifier = "==0.21.0" },
|
||||||
|
{ name = "uvloop", marker = "sys_platform != 'win32'", specifier = "==0.21.0" },
|
||||||
{ name = "watchfiles", specifier = "==1.0.4" },
|
{ name = "watchfiles", specifier = "==1.0.4" },
|
||||||
{ name = "websockets", specifier = "==14.1" },
|
{ name = "websockets", specifier = "==14.1" },
|
||||||
]
|
]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user