9 lines
		
	
	
		
			185 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			185 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| FROM golang:alpine as builder
 | |
| WORKDIR /source
 | |
| COPY . .
 | |
| RUN go build .
 | |
| 
 | |
| FROM scratch
 | |
| COPY --from=builder /source/timetable-mgr /bin/timetable-mgr
 | |
| USER nobody
 | |
| CMD [ "/bin/timetable-mgr" ] |