Dockerfile 369 B

12345678910111213
  1. FROM python:3.10
  2. COPY ./requirements.txt ./requirements.txt
  3. COPY models/ ./models
  4. COPY app.py ./app.py
  5. COPY utils.py/ ./utils.py
  6. RUN pip install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple && \
  7. pip install -r ./requirements.txt \
  8. --default-timeout=100 -i https://pypi.tuna.tsinghua.edu.cn/simple
  9. RUN nohup python app.py > TableRec.log 2>&1 &