← Files Runpod (Official)ARCHIVED FILE
skills/runpod/golden-paths/23-minimal-queue-image/template/Dockerfile
436 Bytes · Oct 4, 2026 · 12:18 UTC
# Minimal Runpod serverless (queue) worker. # Runpod hosts are x86_64 Linux — always build with --platform=linux/amd64. FROM python:3.11-slim ENV PYTHONUNBUFFERED=1 WORKDIR /app # Dependency layer first (cached across code edits). COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Code last. COPY handler.py . # Queue workers run the handler as the container command. CMD ["python", "-u", "handler.py"]
SHA-256: c195fa7287a8baa48acf6435a2ddaf215c6c2731d2550746ee5a07eb11d314c2