You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
codefirst-docdeployer/Dockerfile

18 lines
438 B

FROM debian:bookworm
LABEL author="Thomas Bellembois"
RUN apt update && apt -y install sshpass rsync doxygen nodejs npm
WORKDIR /usr/local
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 /
RUN chmod +x /entrypoint.sh
ENTRYPOINT [ "/entrypoint.sh" ]