Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
PikuZheng authored Dec 15, 2023
1 parent 3f6100f commit f0c4313
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ COPY ./common ./common
COPY ./modules ./modules
COPY ./requirements.txt .

# ........., ....................., ......................

RUN pip install --no-cache-dir -r requirements.txt
# 指定源, 如果后期源挂了, 更换个源就可以. # ........., ....................., ......................
RUN pip install --no-cache -i https://pypi.mirrors.ustc.edu.cn/simple/ -r requirements.txt

CMD [ "python", "main.py" ]

0 comments on commit f0c4313

Please sign in to comment.