martynattakit/CodeSentinel-CWE_Classification
1
1FROM python:3.10-slim2 3WORKDIR /app4 5# Install system dependencies6RUN apt-get update && apt-get install -y \7 git \8 curl \9 && rm -rf /var/lib/apt/lists/*10 11# Copy requirements first for layer caching12COPY requirements.txt .13 14# Install Python dependencies15RUN pip install --no-cache-dir -r requirements.txt16 17# Copy project files18COPY . .19 20# HF Spaces runs on port 786021EXPOSE 786022 23# Start the app24CMD ["python", "app.py"]