File size: 337 Bytes
ede6c8e 653ac84 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | FROM python:3.10-slim
WORKDIR /app
# Install system deps
RUN apt update && apt install -y wget && rm -rf /var/lib/apt/lists/*
# Copy requirements first (Docker cache optimization)
COPY requirements.txt .
# Install Python deps
RUN pip install --no-cache-dir -r requirements.txt
# Copy project files
COPY . .
CMD ["python", "app.py"] |