CoolFace
Apppublic

deepmindfx/cctvchat

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
Dockerfile30 linesDownload Raw Back to root
1FROM python:3.9-slim2 3WORKDIR /app4 5# Install system dependencies6RUN apt-get update && apt-get install -y \7    build-essential \8    curl \9    software-properties-common \10    git \11    && rm -rf /var/lib/apt/lists/*12 13# Copy requirements first to leverage Docker cache14COPY requirements.txt .15RUN pip install -r requirements.txt16 17# Copy the rest of the application18COPY . .19 20# Create necessary directories21RUN mkdir -p upload static22 23# Expose the port Streamlit runs on24EXPOSE 850125 26# Set environment variables27ENV PYTHONUNBUFFERED=128 29# Command to run the application30CMD ["streamlit", "run", "home.py", "--server.port=8501", "--server.address=0.0.0.0"]