Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
|
@@ -5,13 +5,13 @@ WORKDIR /app
|
|
| 5 |
# Install dependencies
|
| 6 |
RUN apk add --no-cache python3 py3-pip git py3-uv nodejs npm
|
| 7 |
|
| 8 |
-
#
|
| 9 |
-
RUN mkdir -p /app/.mcp-auth && chmod 777 /app/.mcp-auth
|
| 10 |
-
|
| 11 |
-
# Clone One-MCP
|
| 12 |
RUN git clone https://github.com/One-MCP/multi-mcp.git .
|
| 13 |
RUN uv venv && . .venv/bin/activate && uv pip install -r requirements.txt
|
| 14 |
|
|
|
|
|
|
|
|
|
|
| 15 |
# Copy requirements and create venvs
|
| 16 |
COPY tools/requirements/ /tmp/requirements/
|
| 17 |
RUN python3 -m venv /app/venvs/shared
|
|
|
|
| 5 |
# Install dependencies
|
| 6 |
RUN apk add --no-cache python3 py3-pip git py3-uv nodejs npm
|
| 7 |
|
| 8 |
+
# Clone One-MCP first
|
|
|
|
|
|
|
|
|
|
| 9 |
RUN git clone https://github.com/One-MCP/multi-mcp.git .
|
| 10 |
RUN uv venv && . .venv/bin/activate && uv pip install -r requirements.txt
|
| 11 |
|
| 12 |
+
# Create writable directory for mcp-remote auth configs AFTER git clone
|
| 13 |
+
RUN mkdir -p /app/.mcp-auth && chmod 777 /app/.mcp-auth
|
| 14 |
+
|
| 15 |
# Copy requirements and create venvs
|
| 16 |
COPY tools/requirements/ /tmp/requirements/
|
| 17 |
RUN python3 -m venv /app/venvs/shared
|