diff --git a/Dockerfile b/Dockerfile index 98ba1d1..a67501e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,8 @@ LABEL mantainer="Eloy Lopez " \ RUN apk update && apk upgrade && apk add --no-cache bash samba-common-tools samba tzdata && rm -rf /var/cache/apk/* +RUN sed -i '/\[homes\]/,/writable/ s/^/;/' /etc/samba/smb.conf + COPY entrypoint.sh /entrypoint.sh RUN chmod u+x /entrypoint.sh @@ -25,4 +27,4 @@ EXPOSE 137/udp 138/udp 139 445 HEALTHCHECK --interval=60s --timeout=15s CMD smbclient -L \\localhost -U % -m SMB3 ENTRYPOINT ["/entrypoint.sh"] -CMD ["-h"] \ No newline at end of file +CMD ["-h"]