Some checks failed
		
		
	
	Build / build (push) Has been cancelled
				
			CodeQL / Analyze (go) (push) Has been cancelled
				
			build / Build (push) Has been cancelled
				
			GitHub Actions Mirror / mirror_to_gitee (push) Has been cancelled
				
			GitHub Actions Mirror / mirror_to_gitlab (push) Has been cancelled
				
			Issue Close Require / issue-close-require (push) Has been cancelled
				
			Issue Check Inactive / issue-check-inactive (push) Has been cancelled
				
			
		
			
				
	
	
		
			18 lines
		
	
	
		
			482 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			482 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| FROM alpine
 | |
| 
 | |
| # ENV GOPROXY https://goproxy.cn/
 | |
| 
 | |
| RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
 | |
| 
 | |
| RUN apk update --no-cache
 | |
| RUN apk add --update gcc g++ libc6-compat
 | |
| RUN apk add --no-cache ca-certificates
 | |
| RUN apk add --no-cache tzdata
 | |
| ENV TZ Asia/Shanghai
 | |
| 
 | |
| COPY ./main /main
 | |
| COPY ./config/settings.demo.yml /config/settings.yml
 | |
| COPY ./go-admin-db.db /go-admin-db.db
 | |
| EXPOSE 8000
 | |
| RUN  chmod +x /main
 | |
| CMD ["/main","server","-c", "/config/settings.yml"] |