FROM python:3.7.15-slim WORKDIR ./persagy_transfer_energy ADD . . 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"]