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