1 parent 5fa1825 commit 2fb41a5Copy full SHA for 2fb41a5
1 file changed
Dockerfile
@@ -0,0 +1,22 @@
1
+# Late MCP HTTP Server - Railway Deployment
2
+# Uses uv for fast, reliable dependency management
3
+
4
+FROM ghcr.io/astral-sh/uv:python3.12-slim
5
6
+WORKDIR /app
7
8
+# Copy dependency files
9
+COPY pyproject.toml uv.lock README.md ./
10
+COPY src ./src
11
12
+# Install dependencies (no dev dependencies in production)
13
+RUN --mount=type=cache,id=uv-cache,target=/root/.cache/uv \
14
+ uv sync --frozen --no-dev --extra mcp
15
16
+# Expose port (Railway will set PORT env var)
17
+EXPOSE 8080
18
19
+# Health check for Railway monitoring (Railway will use /health endpoint)
20
21
+# Run HTTP server (Railway sets PORT env var automatically)
22
+CMD ["sh", "-c", "uv run late-mcp-http --host 0.0.0.0 --port ${PORT:-8080}"]
0 commit comments