mirror of
				https://github.com/jakejarvis/npqueue.git
				synced 2025-11-04 00:00:09 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			221 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			221 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM golang:1.13 AS builder
 | 
						|
 | 
						|
WORKDIR /src
 | 
						|
COPY . /src
 | 
						|
 | 
						|
RUN CGO_ENABLED=0 GOOS=linux go build -o npqueue .
 | 
						|
 | 
						|
# ---
 | 
						|
 | 
						|
FROM heroku/heroku:18
 | 
						|
 | 
						|
WORKDIR /app
 | 
						|
COPY --from=builder /src /app
 | 
						|
 | 
						|
ENV GIN_MODE=release
 | 
						|
 | 
						|
CMD ["./npqueue"]
 |