15 lines
288 B
Docker
15 lines
288 B
Docker
FROM python:3.13-slim
|
|
|
|
# Prevent Python from writing pyc files and buffering stdout/stderr
|
|
ENV PYTHONDONTWRITEBYTECODE=1
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
WORKDIR /app
|
|
|
|
# Install dependencies
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
# Copy project files
|
|
COPY . .
|