fix dockerfile
This commit is contained in:
		
							parent
							
								
									1ac41690c0
								
							
						
					
					
						commit
						d313132c97
					
				
							
								
								
									
										12
									
								
								Dockerfile
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								Dockerfile
									
									
									
									
									
								
							@ -4,7 +4,6 @@ WORKDIR /mcpo
 | 
			
		||||
 | 
			
		||||
COPY requirements.txt requirements.txt
 | 
			
		||||
 | 
			
		||||
<<<<<<< HEAD
 | 
			
		||||
COPY mcpo_config.yaml mcpo_config.yaml
 | 
			
		||||
 | 
			
		||||
COPY config_builder.py config_builder.py
 | 
			
		||||
@ -13,24 +12,13 @@ COPY gitea_mcp_set.sh gitea_mcp_set.sh
 | 
			
		||||
 | 
			
		||||
COPY .env .env
 | 
			
		||||
 | 
			
		||||
=======
 | 
			
		||||
COPY mcpo_config.json mcpo_config.json
 | 
			
		||||
 | 
			
		||||
COPY gitea_mcp_set.sh gitea_mcp_set.sh
 | 
			
		||||
 | 
			
		||||
>>>>>>> d186565 (first iteration of the service)
 | 
			
		||||
RUN apt-get update -y && apt-get install -y python3 virtualenv wget tar python3-pip python3-pip
 | 
			
		||||
 | 
			
		||||
RUN ./gitea_mcp_set.sh
 | 
			
		||||
 | 
			
		||||
RUN pip install -r requirements.txt --break-system-packages
 | 
			
		||||
 | 
			
		||||
<<<<<<< HEAD
 | 
			
		||||
RUN python3 config_builder.py
 | 
			
		||||
 | 
			
		||||
EXPOSE 8000
 | 
			
		||||
ENTRYPOINT ["mcpo", "--config", "/mcpo/config.json"]
 | 
			
		||||
=======
 | 
			
		||||
EXPOSE 8000
 | 
			
		||||
ENTRYPOINT ["mcpo", "--config", "/mcpo/mcpo_config.json"]
 | 
			
		||||
>>>>>>> d186565 (first iteration of the service)
 | 
			
		||||
 | 
			
		||||
@ -1,18 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "mcpServers": {
 | 
			
		||||
        "gitea_stdio": {
 | 
			
		||||
            "command": "gitea-mcp",
 | 
			
		||||
            "args": ["-t", "stdio", "--host", "https://git.aridgwayweb.com"],
 | 
			
		||||
            "env": {
 | 
			
		||||
                "GITEA_ACCESS_TOKEN": "bac6a1e753d6f2c0b848bd1cbad82965b43ea480"
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "homeassistant": {
 | 
			
		||||
            "type": "sse",
 | 
			
		||||
            "url": "https://homeassistant.aridgwayweb.com/mcp_server/sse",
 | 
			
		||||
            "headers": {
 | 
			
		||||
                "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiIwZmM4ZTIyNGFlOGI0MGIxOWJmNWE2YzI3NmRkYTBkYiIsImlhdCI6MTc1MzE4MzUwNSwiZXhwIjoyMDY4NTQzNTA1fQ.At_LG5QAuIzeM470tTokbp-XIq3ytf7j5SsAmpoPrLk"
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user