feat: add Docker support with uv and update taskipy start command

- Add Dockerfile using uv for dependency management
- Add docker-compose.yaml for container orchestration
- Add .dockerignore to optimize builds
- Update taskipy start task with http transport and port 3001
- Update README.md and AGENTS.md with Docker documentation
This commit is contained in:
2026-03-17 18:15:10 -05:00
parent 861f5030f4
commit b520d47ab3
14 changed files with 316 additions and 24 deletions

17
Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM python:3.14-trixie
ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1
WORKDIR /app
RUN pip install --no-cache-dir uv
COPY pyproject.toml uv.lock ./
COPY src/ ./src/
RUN uv sync --frozen --no-dev
RUN uv pip install --editable .
EXPOSE 3001
CMD ["uv", "run", "fastmcp", "run", "./src/tryton_mcp/server.py", "--transport", "http", "--port", "3001"]