From efb32e960417d2c630edc3785ef3d99a93f028a1 Mon Sep 17 00:00:00 2001 From: Nicolas Cantu Date: Mon, 25 Aug 2025 19:46:59 +0200 Subject: [PATCH] =?UTF-8?q?fix(ihm=5Fclient):=20corrections=20Dockerfile?= =?UTF-8?q?=20et=20doc=20d=E2=80=99int=C3=A9gration=20IHM=20dans=204NK=5Fn?= =?UTF-8?q?ode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/INTEGRATION_IHM_CLIENT.md | 4 ++-- ihm_client/Dockerfile | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/INTEGRATION_IHM_CLIENT.md b/docs/INTEGRATION_IHM_CLIENT.md index 9010475b..94557478 100644 --- a/docs/INTEGRATION_IHM_CLIENT.md +++ b/docs/INTEGRATION_IHM_CLIENT.md @@ -28,12 +28,12 @@ L'interface utilisateur `ihm_client` a été intégrée avec succès dans l'infr ### Communication entre services ``` -ihm_client (8080) +ihm_client (8080) ↓ HTTP/WebSocket sdk_relay_1 (8090/8091) ↓ P2P sdk_relay_2 (8092/8093) - ↓ P2P + ↓ P2P sdk_relay_3 (8094/8095) ↓ RPC bitcoin (18443) diff --git a/ihm_client/Dockerfile b/ihm_client/Dockerfile index e3e37402..4b8020b4 100644 --- a/ihm_client/Dockerfile +++ b/ihm_client/Dockerfile @@ -15,7 +15,7 @@ RUN apk update && apk add --no-cache \ COPY package*.json ./ # Installation des dépendances -RUN npm ci --only=production +RUN npm install --omit=dev # Copie du code source COPY . . @@ -34,10 +34,10 @@ COPY --from=builder /app/dist /usr/share/nginx/html COPY --from=builder /app/package*.json /app/ # Copie de la configuration nginx optimisée pour 4NK_node -COPY nginx.4nk-node.conf /etc/nginx/conf.d/default.conf +COPY nginx.conf /etc/nginx/conf.d/default.conf # Script de démarrage -COPY start-4nk-node.sh /start-4nk-node.sh +COPY start.sh /start-4nk-node.sh RUN chmod +x /start-4nk-node.sh # Exposition des ports