# --------------------------- # DOCKERFILE FOR STREAMLIT APP # --------------------------- FROM python:3.10-slim # Avoid interactive prompts ENV DEBIAN_FRONTEND=noninteractive # System dependencies RUN apt-get update && apt-get install -y \ git \ && rm -rf /var/lib/apt/lists/* # --------------------------- # Install Python dependencies # --------------------------- COPY requirements.txt /app/requirements.txt WORKDIR /app RUN pip install --no-cache-dir -r requirements.txt # --------------------------- # Copy app code # --------------------------- COPY app.py /app/app.py COPY README.md /app/README.md # No local models are copied anymore # ALL models are loaded directly from HuggingFace Hub # --------------------------- # Expose Streamlit port # --------------------------- EXPOSE 7860 # --------------------------- # Run Streamlit # --------------------------- CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]