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