Actualiser Dockerfile
Some checks failed
Prod - Build & Deploy to Scaleway / build-and-push-image-lecoffre (push) Failing after 24s
Prod - Build & Deploy to Scaleway / deploy-to-scaleway-lecoffre (push) Has been skipped

This commit is contained in:
ajanin 2025-06-17 13:21:33 +00:00
parent ae047c9485
commit 05ffd14447

View File

@ -7,10 +7,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