You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

23 lines
421 B

FROM python:3.7
WORKDIR /artline
COPY requirements.txt ./requirements.txt
COPY ArtLine_650.pkl ./ArtLine_650.pkl
COPY app.py ./app.py
COPY templates/* ./templates/
COPY result/* ./result/
COPY tmp/* ./tmp/
COPY core/* ./core/
RUN pip3 --no-cache-dir --trusted-host=mirrors.aliyun.com install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --verbose
EXPOSE 5000
ENTRYPOINT ["python3","app.py"]