Spaces:
Sleeping
Sleeping
FROM python:3.10-slim | |
WORKDIR /app | |
ARG HF_HOME=/app/.cache | |
RUN mkdir ${HF_HOME} \ | |
&& chmod 775 ${HF_HOME} | |
ENV HF_HOME=${HF_HOME} | |
COPY requirements.txt . | |
RUN pip install --no-cache-dir -r requirements.txt | |
COPY . . | |
# Run the application. | |
CMD streamlit run inference_main.py --server.port 7860 | |