Dockerfile 213 B

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