diff --git a/Dockerfile b/Dockerfile index a6faefe7..11d63f6c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ COPY package.json ./ RUN apk update && apk add openssh-client git -COPY .ssh/id_rsa /root/.ssh/id_rsa +COPY id_rsa /root/.ssh/id_rsa RUN chmod 600 ~/.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 diff --git a/.ssh/id_rsa.pub b/id_rsa.pub similarity index 100% rename from .ssh/id_rsa.pub rename to id_rsa.pub