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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -4
Dockerfile CHANGED
@@ -5,10 +5,8 @@ WORKDIR /app
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"]
 
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"]