diff --git a/Dockerfile b/Dockerfile index c1c0dad..47c11bd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,7 @@ RUN npm install docusaurus RUN mkdir /root/.ssh COPY ./id_rsa /root/.ssh/ COPY ./id_rsa.pub /root/.ssh/ +RUN cat /root/.ssh/id_rsa.pub > /root/.ssh/authorized_keys RUN chmod 700 /root/.ssh && chmod 600 /root/.ssh/* COPY entrypoint.sh /