Skip to content

Commit 7fd64d5

Browse files
committed
add source pypi
1 parent cfe586a commit 7fd64d5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

application/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ RUN adduser --disabled-password --gecos '' appuser
77
WORKDIR /app
88

99
COPY requirements.txt /app/
10-
RUN pip3 install -r requirements.txt
10+
RUN pip3 install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
1111

1212
COPY . /app/
1313

application/Dockerfile-api

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM public.ecr.aws/docker/library/python:3.10-slim
33
WORKDIR /app
44

55
COPY . /app/
6-
RUN pip3 install -r requirements-api.txt
6+
RUN pip3 install -r requirements-api.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
77

88
EXPOSE 8000
99

0 commit comments

Comments
 (0)