aeonshift commited on
Commit
13a1182
·
verified ·
1 Parent(s): c4f2094

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -3
Dockerfile CHANGED
@@ -3,10 +3,12 @@ FROM python:3.10-slim
3
  WORKDIR /app
4
 
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 using its module entry point
12
- CMD ["sh", "-c", "AIRTABLE_API_TOKEN=$AIRTABLE_API_TOKEN AIRTABLE_BASE_ID=$AIRTABLE_BASE_ID python -m airtable_mcp --host 0.0.0.0 --port 7860"]
 
3
  WORKDIR /app
4
 
5
  # Install Python dependencies
6
+ RUN pip install requests aiohttp 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"]