File tree Expand file tree Collapse file tree 7 files changed +32
-14
lines changed
Expand file tree Collapse file tree 7 files changed +32
-14
lines changed Original file line number Diff line number Diff line change 11services :
22 smack-server :
3- build : .
3+ build : ./smack
44 ports :
55 - " 8000:8000"
66 restart : unless-stopped
Original file line number Diff line number Diff line change @@ -3,11 +3,14 @@ FROM python:3.10-slim
33# Set working directory in the container
44WORKDIR /app
55
6- # Copy requirements file
7- COPY requirements.txt .
6+ # Install uv and tomli for TOML parsing
7+ RUN pip install --no-cache-dir uv tomli==2.0.1
88
9- # Install dependencies
10- RUN uv pip install --no-cache-dir -r requirements.txt
9+ # Copy pyproject.toml
10+ COPY pyproject.toml .
11+
12+ # Install dependencies using uv with --system flag
13+ RUN uv pip install --system --no-cache-dir .
1114
1215# Copy the application code
1316COPY . .
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -34,4 +34,27 @@ known-first-party = ["smack"]
3434[tool .ruff .format ]
3535quote-style = " double"
3636indent-style = " space"
37- line-ending = " auto"
37+ line-ending = " auto"
38+
39+ [project ]
40+ name = " mcp-smack"
41+ version = " 0.1.0"
42+ description = " SMACK application"
43+ requires-python = " >=3.10"
44+ dependencies = [
45+ " mcp==1.6.0" ,
46+ " psycopg2-binary==2.9.9" ,
47+ " pydantic==2.11.1" ,
48+ " pydantic-settings==2.8.1" ,
49+ " python-dotenv==1.1.0" ,
50+ " uvicorn==0.34.0" ,
51+ " httpx-sse==0.4.0" ,
52+ " sse-starlette==2.2.1" ,
53+ ]
54+
55+ [build-system ]
56+ requires = [" hatchling" ]
57+ build-backend = " hatchling.build"
58+
59+ [tool .hatch .build .targets .wheel ]
60+ packages = [" mcp_smack" ]
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments