您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

23 行
421 B

3 年前
  1. FROM python:3.7
  2. WORKDIR /artline
  3. COPY requirements.txt ./requirements.txt
  4. COPY ArtLine_650.pkl ./ArtLine_650.pkl
  5. COPY app.py ./app.py
  6. COPY templates/* ./templates/
  7. COPY result/* ./result/
  8. COPY tmp/* ./tmp/
  9. COPY core/* ./core/
  10. RUN pip3 --no-cache-dir --trusted-host=mirrors.aliyun.com install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --verbose
  11. EXPOSE 5000
  12. ENTRYPOINT ["python3","app.py"]