fix: 更改Dockerfile安装命令
Gitea Action for docker build runtime / build-runtime (push) Successful in 34s
Details
Gitea Action for docker build runtime / build-runtime (push) Successful in 34s
Details
This commit is contained in:
parent
598bb654c7
commit
9bf965587e
|
|
@ -18,7 +18,8 @@ COPY pyproject.toml .
|
||||||
# RUN pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --prefix=/install
|
# RUN pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --prefix=/install
|
||||||
RUN pip install poetry -i https://mirrors.aliyun.com/pypi/simple/ \
|
RUN pip install poetry -i https://mirrors.aliyun.com/pypi/simple/ \
|
||||||
&& poetry source add --priority=primary mirrors https://pypi.tuna.tsinghua.edu.cn/simple/ \
|
&& poetry source add --priority=primary mirrors https://pypi.tuna.tsinghua.edu.cn/simple/ \
|
||||||
&& poetry install -C /install
|
&& poetry config virtualenvs.path /install \
|
||||||
|
&& poetry install
|
||||||
|
|
||||||
# 应用启动
|
# 应用启动
|
||||||
FROM python:3.11-slim
|
FROM python:3.11-slim
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue