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