Update
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 2m17s
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 2m17s
This commit is contained in:
parent
5667f07b51
commit
76650e3068
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user