FROM python:3.11-slim # kinit cho client HDFS native (Kerberos) mount từ gói portable vào /opt/native-hdfs. RUN apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends krb5-user \ && rm -rf /var/lib/apt/lists/* WORKDIR /app COPY requirements-runtime.txt . RUN pip install --no-cache-dir -r requirements-runtime.txt COPY pyproject.toml . COPY idp_service idp_service RUN pip install --no-cache-dir --no-deps . ENV PYTHONUNBUFFERED=1