CoolFace
Apppublic

mostafa-atef21/Epilepsy-Management-AI-Agent

sourceHugging Faceapache-2.0updated 11mo agoView on Hugging Face
0likes
Dockerfile29 linesDownload Raw Back to root
1# Use an official Python runtime as a base image2FROM python:3.11-slim3 4# Set working directory in the container5WORKDIR /app6 7# Install system dependencies for ChromaDB and curl for healthcheck8RUN apt-get update && apt-get install -y \9    build-essential \10    curl \11    && rm -rf /var/lib/apt/lists/*12 13# Copy requirements first for better caching14COPY requirements.txt .15 16# Install dependencies17RUN pip install --no-cache-dir -r requirements.txt18 19# Copy the rest of the application20COPY . .21 22# Expose the port Streamlit runs on23EXPOSE 786024 25# Health check26HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health || exit 127 28# Command to run the application - run from project root29CMD ["streamlit", "run", "src/app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.headless=true"]