mirror of
				https://gitea.publichub.eu/oscar.krause/fastapi-dls.git
				synced 2025-11-03 23:46:07 +00:00 
			
		
		
		
	Dockerfile - fixed healthcheck
This commit is contained in:
		@@ -12,5 +12,5 @@ RUN apk update \
 | 
			
		||||
 | 
			
		||||
COPY app /app
 | 
			
		||||
 | 
			
		||||
HEALTHCHECK --start-period=30s --interval=10s --timeout=5s --retries=3 CMD curl --fail http://localhost/status || exit 1
 | 
			
		||||
HEALTHCHECK --start-period=30s --interval=10s --timeout=5s --retries=3 CMD curl --insecure --fail https://localhost/status || exit 1
 | 
			
		||||
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "443", "--app-dir", "/app", "--proxy-headers", "--ssl-keyfile", "/app/cert/webserver.key", "--ssl-certfile", "/app/cert/webserver.crt"]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user