image_tools / Dockerfile
akashmx77's picture
Fix numba caching issue for pymatting in Hugging Face
f973662
Raw History Blame Contribute Delete
236 Bytes
FROM python:3.10
ENV NUMBA_DISABLE_CACHE=1
WORKDIR /code
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app ./app
EXPOSE 7860
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]