Actualiser Dockerfile-Cron
Some checks failed
Prod - Build & Deploy to Scaleway / build-and-push-images-lecoffre (push) Failing after 28s
Prod - Build & Deploy to Scaleway / deploy-back-lecoffre (push) Has been skipped
Prod - Build & Deploy to Scaleway / deploy-cron-lecoffre (push) Has been skipped

This commit is contained in:
Omar 2025-06-17 13:55:27 +00:00
parent 003798fcfa
commit 2b59de3778

View File

@ -8,10 +8,10 @@ COPY package.json ./
RUN apk update && apk add openssh-client git RUN apk update && apk add openssh-client git
COPY id_rsa /root/.ssh/id_rsa #COPY id_rsa /root/.ssh/id_rsa
RUN chmod 600 ~/.ssh/id_rsa #RUN chmod 600 ~/.ssh/id_rsa
RUN eval "$(ssh-agent -s)" && ssh-add /root/.ssh/id_rsa #RUN eval "$(ssh-agent -s)" && ssh-add /root/.ssh/id_rsa
RUN ssh-keyscan github.com smart-chain-fr/leCoffre-resources.git >> /root/.ssh/known_hosts #RUN ssh-keyscan github.com smart-chain-fr/leCoffre-resources.git >> /root/.ssh/known_hosts
RUN npm install --frozen-lockfile RUN npm install --frozen-lockfile