From c2913e3b5d80201b1299483791d6bb808a7990a8 Mon Sep 17 00:00:00 2001 From: piersonjarvis <33534845+piersonjarvis@users.noreply.github.com> Date: Fri, 16 Nov 2018 10:30:15 -0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index dddecae..577a266 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,12 @@ FROM ubuntu -EXPOSE 80 +EXPOSE 80 139 445 WORKDIR / COPY Service-check.sh . RUN apt-get update && apt-get upgrade -y RUN apt-get install apt-transport-https wget samba samba-common -y && \ -mkdir /media/storage && \ -chmod 0777 /media/storage +mkdir /media/storage /data /data/samba /data/webmin && \ +chmod 0777 /media/storage /data /data/samba /data/webmin && \ +ln -s /data/samba /etc/samba && ln -s /data/webmin /etc/webmin RUN echo "deb https://download.webmin.com/download/repository sarge contrib" >> /etc/apt/sources.list && \ cd /root && \