syncthing.yml 296 B

12345678910
  1. FROM debian:stable
  2. RUN apt update -y
  3. RUN apt upgrade -y
  4. run apt install -y syncthing
  5. run groupadd -g 1002 storage
  6. run useradd -g storage -u 1114 -s /bin/false -d /home/syncthing storage
  7. COPY syncthing/syncthing.sh /root/
  8. RUN chmod a+x /root/syncthing.sh
  9. CMD ['/bin/bash','/root/syncthing.sh']