SSH settings for Azure

Add SSH settings so Azure can SSH into the container
stevengoossensB 2020-02-10 19:13:13 +01:00 committed by GitHub
parent 7f31c985e3
commit a3c29f91f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -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"]