Modified syncthing
This commit is contained in:
parent
e78d05f8b4
commit
9fe172a6e3
14
syncthing/Dockerfile
Normal file
14
syncthing/Dockerfile
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
FROM syncthing/syncthing:1
|
||||||
|
|
||||||
|
RUN adduser -u 1000 -H -D syncthing
|
||||||
|
|
||||||
|
RUN mkdir -p /sync && chown syncthing:syncthing /sync
|
||||||
|
RUN mkdir -p /config && chown syncthing:syncthing /config
|
||||||
|
|
||||||
|
USER syncthing
|
||||||
|
|
||||||
|
VOLUME /sync
|
||||||
|
VOLUME /config
|
||||||
|
|
||||||
|
ENTRYPOINT ["/bin/syncthing"]
|
||||||
|
CMD ["serve", "--home=/config"]
|
Loading…
x
Reference in New Issue
Block a user