From a3c29f91f846f858c9813b0d34950d0250b27f69 Mon Sep 17 00:00:00 2001 From: stevengoossensB Date: Mon, 10 Feb 2020 19:13:13 +0100 Subject: [PATCH] SSH settings for Azure Add SSH settings so Azure can SSH into the container --- web/Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/web/Dockerfile b/web/Dockerfile index 6eb59b1..be814ca 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -186,6 +186,11 @@ RUN chmod 0755 /run.sh && touch /.firstboot.tmp WORKDIR /var/www/MISP RUN tar czpf /root/MISP.tgz . +RUN apk add openssh && echo "root:Docker!" | chpasswd +COPY sshd_config /etc/ssh/ + + VOLUME /var/www/MISP -EXPOSE 80 +EXPOSE 80 2222 + ENTRYPOINT ["/run.sh"]