FROM python:3.12-slim
WORKDIR /app
COPY northline /app/northline
COPY test_all.py /app/test_all.py
RUN useradd --create-home --uid 10001 --shell /usr/sbin/nologin appuser \
    && chown -R appuser:appuser /app
USER appuser
CMD ["python3", "test_all.py"]
