Update
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 2m17s

This commit is contained in:
omaroughriss 2025-07-01 16:35:45 +02:00
parent 5667f07b51
commit 76650e3068

View File

@ -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