Enhance Docker setup and configuration loading for improved environment management
This commit is contained in:
		
							
								
								
									
										5
									
								
								cmd/server/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								cmd/server/Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
FROM alpine:latest
 | 
			
		||||
WORKDIR /app
 | 
			
		||||
COPY main .
 | 
			
		||||
RUN apk add gcompat
 | 
			
		||||
CMD ["./main"]
 | 
			
		||||
@@ -99,7 +99,6 @@ func main() {
 | 
			
		||||
	err := initDotenv()
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		logMessage("error", "Failed to load .env file: %v", err)
 | 
			
		||||
		return
 | 
			
		||||
	}
 | 
			
		||||
	logMessage("info", "Starting the SIPRO Marketplace Server... 🚀1")
 | 
			
		||||
	ctx := context.Background()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user