Dockerfile 222 B

12345678910
  1. FROM python:3.7.15-slim
  2. WORKDIR ./saga_equipment_quarter_history
  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"]