feat(stats): rewrite scheduled tasks runner, use timescaledb instead of influxdb
This commit is contained in:
		
							
								
								
									
										14
									
								
								Dockerfile.scheduled_tasks
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								Dockerfile.scheduled_tasks
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
FROM alpine:latest AS builder
 | 
			
		||||
 | 
			
		||||
RUN apk add go
 | 
			
		||||
 | 
			
		||||
WORKDIR /build
 | 
			
		||||
COPY scheduled_tasks/ /build
 | 
			
		||||
 | 
			
		||||
RUN go build .
 | 
			
		||||
 | 
			
		||||
FROM alpine:latest
 | 
			
		||||
 | 
			
		||||
COPY --from=builder /build/scheduled_tasks /bin/runner
 | 
			
		||||
 | 
			
		||||
ENTRYPOINT ["/bin/runner"]
 | 
			
		||||
		Reference in New Issue
	
	Block a user