CoolFace
Apppublic

Dave-13/DevSecOps

sourceHugging Faceupdated 5mo agoView on Hugging Face
0likes
Dockerfile27 linesDownload Raw Back to root
1# Use slim Python image2FROM python:3.11-slim3 4# Prevent Python buffering5ENV PYTHONUNBUFFERED=16 7# Set working directory8WORKDIR /app9 10# Install system deps (minimal)11RUN apt-get update && apt-get install -y \12    git \13    curl \14    build-essential \15    && rm -rf /var/lib/apt/lists/*16 17# Install uv (fast dependency manager)18RUN pip install --no-cache-dir uv19 20# Copy project files21COPY . .22 23# Install dependencies24RUN uv pip install --system -r requirements.txt25 26# Default command27CMD ["python", "inference.py"]