# Mock satellite-provider service — bootstrap placeholder.
#
# The full implementation of the D-PROJ-2 ingest contract lands once the
# parent-suite design is finalised. This image exists so docker-compose can
# wire the dev/test stack today.

FROM python:3.10-slim
WORKDIR /app
COPY tests/fixtures/mock-suite-sat-service/ /app/
RUN pip install --no-cache-dir fastapi uvicorn

EXPOSE 5100
HEALTHCHECK --interval=5s --timeout=2s --retries=3 \
    CMD python -c "import urllib.request; urllib.request.urlopen('http://127.0.0.1:5100/healthz').read()" || exit 1
ENTRYPOINT ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "5100"]
