CoolFace
Apppublic

WebashalarForML/scratch_chat

sourceHugging Facemitupdated 1y agoView on Hugging Face
0likes
Dockerfile.dev31 linesDownload Raw Back to root
1# Development Dockerfile with hot reload2FROM python:3.11-slim3 4# Set working directory5WORKDIR /app6 7# Install system dependencies8RUN apt-get update && apt-get install -y \9    gcc \10    g++ \11    libpq-dev \12    && rm -rf /var/lib/apt/lists/*13 14# Copy requirements and install Python dependencies15COPY requirements.txt .16RUN pip install --no-cache-dir -r requirements.txt17 18# Install development dependencies19RUN pip install --no-cache-dir \20    watchdog \21    flask-debugtoolbar \22    ipdb23 24# Copy application code25COPY . .26 27# Expose port28EXPOSE 786029 30# Development command with hot reload31CMD ["python", "-m", "flask", "run", "--host=0.0.0.0", "--port=7860", "--reload"]