FROM python:3.13-slim WORKDIR /app COPY app/requirements.txt ./app/requirements.txt RUN apt-get update && apt-get install -y build-essential libmaxminddb0 libmaxminddb-dev wget && rm -rf /var/lib/apt/lists/* RUN pip install --no-cache-dir -r app/requirements.txt COPY . /app ENV PYTHONUNBUFFERED=1 CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--log-config", "logging.yml", "--proxy-headers", "--forwarded-allow-ips=*"]