content: FROM python:3.11-slim
  
  # Set environment variables
  ENV PYTHONUNBUFFERED=1 \
      PYTHONDONTWRITEBYTECODE=1 \
      POETRY_VERSION=1.6.1 \
      POETRY_HOME="/opt/poetry" \
      POETRY_VIRTUALENVS_CREATE=false
  
  # Install system dependencies
  RUN apt-get update \
      && apt-get install -y --no-install-recommends \
          build-essential \
          curl \
          libpq-dev \
      && rm -rf /var/lib/apt/lists/*
  
  # Install Poetry
  RUN curl -sSL https://install.python-poetry.org | python3 -
  ENV PATH="${POETRY_HOME}/bin:$PATH"
  
  WORKDIR /app 