-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (20 loc) · 676 Bytes
/
Dockerfile
File metadata and controls
27 lines (20 loc) · 676 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM python:3.10-alpine
# Set environment variables to prevent Python from writing .pyc files
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1
# Install build dependencies
RUN apk add --no-cache gcc musl-dev libffi-dev openssl-dev
# Set working directory
WORKDIR /app
# Copy project files
COPY pyproject.toml ./
COPY main.py ./
COPY README.md ./
# Upgrade pip and install hatchling build tool
RUN pip install --upgrade pip && \
pip install hatchling
# Build and install the project
RUN pip install .
# Command to run the MCP server
CMD ["mcp-server-mas-sequential-thinking"]