Update Dockerfile
This commit is contained in:
parent
c055d6776c
commit
e0a97a1b54
@ -6,12 +6,6 @@
|
|||||||
FROM python:3.11
|
FROM python:3.11
|
||||||
|
|
||||||
|
|
||||||
# 非必要步骤,更换pip源 (以下三行,可以删除)
|
|
||||||
RUN echo '[global]' > /etc/pip.conf && \
|
|
||||||
echo 'index-url = https://mirrors.aliyun.com/pypi/simple/' >> /etc/pip.conf && \
|
|
||||||
echo 'trusted-host = mirrors.aliyun.com' >> /etc/pip.conf
|
|
||||||
|
|
||||||
|
|
||||||
# 进入工作路径(必要)
|
# 进入工作路径(必要)
|
||||||
WORKDIR /gpt
|
WORKDIR /gpt
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user