Dockerfile 213 B

123456789
  1. FROM python:3.7.15-slim
  2. WORKDIR ./persagy_transfer_energy
  3. ADD . .
  4. RUN pip install --upgrade pip && pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/
  5. CMD ["python", "-u","./main.py"]