This commit is contained in:
changmin hyeon
2026-02-10 11:33:59 +09:00
commit 0d808202f6
17 changed files with 575 additions and 0 deletions

14
mcp/Dockerfile.j2 Normal file
View File

@@ -0,0 +1,14 @@
FROM {{ base_image | default("python:3.11-slim") }}
WORKDIR /app
COPY . /app
{% set pip_opts = "" %}
{% if pip_registry %}
{% set pip_opts = "--index-url " ~ pip_registry %}
{% endif %}
RUN pip install --no-cache-dir -U pip
RUN pip install --no-cache-dir {{ pip_opts }} fastmcp
RUN pip install --no-cache-dir {{ pip_opts }} -r requirements.txt
CMD ["python", "src/main.py"]