FROM python:3.12-slim

WORKDIR /app
COPY observer_server.py /app/observer_server.py
COPY web /app/web

ENV PYTHONUNBUFFERED=1
ENV ONEC_OBSERVER_HOST=0.0.0.0
ENV ONEC_OBSERVER_PORT=8031
ENV ONEC_OBSERVER_AUDIT_DIR=/audit

EXPOSE 8031
CMD ["python", "/app/observer_server.py"]
