FROM python:3.12-slim
WORKDIR /lab
COPY health_service.py .
RUN useradd --create-home learner
USER learner
ENV LAB_HOST=0.0.0.0
EXPOSE 8081
CMD ["python", "health_service.py"]
