mirror of
				https://github.com/TheAnachronism/docspell.git
				synced 2025-10-30 21:40:12 +00:00 
			
		
		
		
	The explicit install was added earlier due to a broken zlib package (see issue #1517). This has now been fixed for a while in alpine and can be removed.
		
			
				
	
	
		
			22 lines
		
	
	
		
			691 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			691 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| FROM alpine:3
 | |
| 
 | |
| ARG version=
 | |
| ARG restserver_url=
 | |
| ARG TARGETPLATFORM
 | |
| 
 | |
| RUN apk update && \
 | |
|     apk add --no-cache openjdk17-jre bash tzdata curl
 | |
| 
 | |
| WORKDIR /opt
 | |
| RUN curl -L -O ${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 && \
 | |
|     rm docspell-restserver/conf/docspell-server.conf
 | |
| 
 | |
| ENTRYPOINT ["/opt/docspell-restserver/bin/docspell-restserver"]
 | |
| EXPOSE 7880
 | |
| 
 | |
| HEALTHCHECK --interval=1m --timeout=10s --retries=2 --start-period=30s \
 | |
|   CMD wget --spider http://localhost:7880/api/info/version
 |