mirror of
				https://github.com/TheAnachronism/docspell.git
				synced 2025-11-04 12:30:12 +00:00 
			
		
		
		
	Remove default config file in docker images
Since this file cannot be changed inside the image, and people need to specify a new file or env variables, it doesn't make sense to add it. Also if it is present, it is preferred to the env variables.
This commit is contained in:
		@@ -62,7 +62,8 @@ WORKDIR /opt
 | 
			
		||||
RUN wget ${joex_url:-https://github.com/eikek/docspell/releases/download/v$version/docspell-joex-$version.zip} && \
 | 
			
		||||
  unzip docspell-joex-*.zip && \
 | 
			
		||||
  rm docspell-joex-*.zip && \
 | 
			
		||||
  ln -snf docspell-joex-* docspell-joex
 | 
			
		||||
  ln -snf docspell-joex-* docspell-joex && \
 | 
			
		||||
  rm docspell-joex/conf/docspell-joex.conf
 | 
			
		||||
 | 
			
		||||
# Using these data files for japanese, because they work better. See #973
 | 
			
		||||
RUN \
 | 
			
		||||
 
 | 
			
		||||
@@ -12,7 +12,8 @@ WORKDIR /opt
 | 
			
		||||
RUN wget ${restserver_url:-https://github.com/eikek/docspell/releases/download/v$version/docspell-restserver-$version.zip} && \
 | 
			
		||||
  unzip docspell-restserver-*.zip && \
 | 
			
		||||
  rm docspell-restserver-*.zip && \
 | 
			
		||||
  ln -snf docspell-restserver-* docspell-restserver
 | 
			
		||||
  ln -snf docspell-restserver-* docspell-restserver && \
 | 
			
		||||
  rm docspell-restserver/conf/docspell-server.conf
 | 
			
		||||
 | 
			
		||||
ENTRYPOINT ["/opt/docspell-restserver/bin/docspell-restserver", "-J-XX:+UseG1GC"]
 | 
			
		||||
EXPOSE 7880
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user