aeonshift commited on
Commit
10dbb17
·
verified ·
1 Parent(s): b881067

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -5,8 +5,10 @@ WORKDIR /app
5
  # Install Python dependencies
6
  RUN pip install requests aiohttp airtable-mcp
7
 
 
 
8
  # Expose the port
9
  EXPOSE 7860
10
 
11
- # Run the MCP server with explicit host and port, ensuring it listens
12
- CMD ["sh", "-c", "AIRTABLE_API_TOKEN=$AIRTABLE_API_TOKEN AIRTABLE_BASE_ID=$AIRTABLE_BASE_ID python -m airtable_mcp.__main__ --host 0.0.0.0 --port 7860"]
 
5
  # Install Python dependencies
6
  RUN pip install requests aiohttp airtable-mcp
7
 
8
+ COPY server.py .
9
+
10
  # Expose the port
11
  EXPOSE 7860
12
 
13
+ # Run the custom server script
14
+ CMD ["python", "server.py"]