Files
id_configurator/tests/dockerfiles/Python.Dockerfile
T
2026-09-04 19:20:41 +02:00

10 lines
416 B
Docker

FROM python:3.13-slim AS detection
FROM interdiode/id_configurator:latest AS configuration
COPY --from=detection / /src/
COPY --from=generated-config Python.yaml /config.yaml
RUN id-configurator apply --config /config.yaml --src /src --dst /dst
FROM python:3.13-slim AS runtime
COPY --from=configuration /dst/ /
RUN pip install --no-cache-dir idconfiguratortestpkg \
&& python3 -c "import idconfiguratortestpkg"