|
@@ -3,7 +3,6 @@ FROM python:3.7.15-slim
|
|
|
|
|
|
WORKDIR ./persagy_transfer_energy
|
|
|
ADD . .
|
|
|
-
|
|
|
-RUN pip install --upgrade pip && pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi
|
|
|
+RUN pip3 install pip -U && pip3 config set global.index-url http://mirrors.aliyun.com/pypi/simple && pip3 install -r requirements.txt
|
|
|
|
|
|
CMD ["python", "-u","./main.py"]
|