dockerfile  copy .env
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 52s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 52s
				
			This commit is contained in:
		
							parent
							
								
									1585a4491c
								
							
						
					
					
						commit
						a4d2cfe3e1
					
				| @ -20,8 +20,9 @@ FROM alpine:latest | ||||
| 
 | ||||
| WORKDIR /usr/src/app | ||||
| 
 | ||||
| # 从构建阶段复制编译好的二进制文件 | ||||
| # 从构建阶段复制编译好的二进制文件和配置文件 | ||||
| COPY --from=go-builder /usr/src/app/main . | ||||
| COPY --from=go-builder /usr/src/app/.env . | ||||
| 
 | ||||
| # 暴露端口(根据你的 API 服务端口修改) | ||||
| EXPOSE 8080 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Song367
						Song367