Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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
|
14 |
-
CMD ["
|
|
|
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"]
|