File size: 291 Bytes
83cb1e9
fd99e1e
 
 
 
 
 
 
b818ecd
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM huggingface/competitions:latest

RUN pip install --no-cache-dir \
    trimesh \
    numpy \
    scipy \
    faiss-cpu \
    rtree \
    tqdm

COPY patched_app.py /app/patched_app.py
ENV PYTHONPATH="/app:${PYTHONPATH}"

CMD uvicorn patched_app:app --host 0.0.0.0 --port 7860 --workers 1