From 76650e30680bd3165241fcb5cda367ed48bac19b Mon Sep 17 00:00:00 2001 From: omaroughriss Date: Tue, 1 Jul 2025 16:35:45 +0200 Subject: [PATCH] Update --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c2a5373a..c5d5b48e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,9 +12,8 @@ RUN apk update && apk add --no-cache openssh-client git # Forward SSH agent via BuildKit (clé jamais écrite dans l'image) RUN --mount=type=ssh \ mkdir -p /root/.ssh && \ - ssh-keyscan git.4nkweb.com >> /root/.ssh/known_hosts - -RUN npm install --frozen-lockfile + ssh-keyscan git.4nkweb.com >> /root/.ssh/known_hosts && \ + npm install --frozen-lockfile # Rebuild the source code only when needed FROM node:19-alpine AS builder