diff --git a/Dockerfile b/Dockerfile index 407cb55..294db2c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -61,9 +61,9 @@ COPY samba.sh /usr/bin/ EXPOSE 137/udp 138/udp 139 445 HEALTHCHECK --interval=60s --timeout=15s \ - CMD smbclient -L '\\localhost' -U '%' -m SMB3 + CMD smbclient -L '\\localhost' -U '%' -m SMB3 -VOLUME ["/etc", "/var/cache/samba", "/var/lib/samba/private", "/var/log/samba",\ +VOLUME ["/etc", "/var/cache/samba", "/var/lib/samba", "/var/log/samba",\ "/run/samba"] ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/samba.sh"] \ No newline at end of file diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 95f3b61..bca5241 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -63,9 +63,9 @@ COPY samba.sh /usr/bin/ EXPOSE 137/udp 138/udp 139 445 HEALTHCHECK --interval=60s --timeout=15s \ - CMD smbclient -L '\\localhost' -U '%' -m SMB3 + CMD smbclient -L '\\localhost' -U '%' -m SMB3 -VOLUME ["/etc", "/var/cache/samba", "/var/lib/samba/private", "/var/log/samba",\ +VOLUME ["/etc", "/var/cache/samba", "/var/lib/samba", "/var/log/samba",\ "/run/samba"] ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/samba.sh"] \ No newline at end of file diff --git a/Dockerfile.armhf b/Dockerfile.armhf index 7adb310..84df1fa 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -63,9 +63,9 @@ COPY samba.sh /usr/bin/ EXPOSE 137/udp 138/udp 139 445 HEALTHCHECK --interval=60s --timeout=15s \ - CMD smbclient -L '\\localhost' -U '%' -m SMB3 + CMD smbclient -L '\\localhost' -U '%' -m SMB3 -VOLUME ["/etc", "/var/cache/samba", "/var/lib/samba/private", "/var/log/samba",\ +VOLUME ["/etc", "/var/cache/samba", "/var/lib/samba", "/var/log/samba",\ "/run/samba"] ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/samba.sh"] \ No newline at end of file