Modified syncthing
This commit is contained in:
		
							
								
								
									
										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"]
 | 
			
		||||
		Reference in New Issue
	
	Block a user