mirror of
https://github.com/d9pouces/id_configurator.git
synced 2026-11-09 01:47:21 +01:00
6b6bc541dd
Signed-off-by: d9pouces <github@19pouces.net>
13 lines
550 B
Docker
13 lines
550 B
Docker
FROM node:20-slim AS target
|
|
FROM interdiode/id-configurator:latest AS configuration
|
|
COPY --from=target / /src/
|
|
COPY --from=generated-config Npm.yaml /config.yaml
|
|
RUN id-configurator apply --config /config.yaml --src /src --dst /dst
|
|
FROM target AS runtime
|
|
COPY --from=configuration /dst/ /
|
|
RUN mkdir -p /tmp/npmtest && cd /tmp/npmtest \
|
|
&& npm init -y >/dev/null \
|
|
&& npm install idconfiguratortestpkg \
|
|
&& grep -qx 'test-only package served by the id-configurator integration tests' \
|
|
node_modules/idconfiguratortestpkg/marker.txt
|