返回提交历史
Modified
Dockerfile
+2
-2
XFEstudio/gpt4free
Fix numpy c dependency issue
2ed8ddaf
代码差异
1 个文件
+2
-2
@@ -3,7 +3,7 @@ FROM python:3.11 as builder
3
3
WORKDIR /usr/app
4
4
ENV PATH="/usr/app/venv/bin:$PATH"
5
5
6
RUN apt-get update && apt-get install -y git
6
#RUN apt-get update && apt-get install -y git
7
7
RUN mkdir -p /usr/app
8
8
RUN python -m venv ./venv
9
9
@@ -14,7 +14,7 @@ RUN pip install -r requirements.txt
14
14
# RUN pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
15
15
# RUN pip config set global.trusted-host mirrors.aliyun.com
16
16
17
FROM python:3.11-alpine
17
FROM python:3.11
18
18
19
19
WORKDIR /usr/app
20
20
ENV PATH="/usr/app/venv/bin:$PATH"