25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
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"]