mcp: Dockerfile
This commit is contained in:
1 parent
ae82332ab8
commit
9b96021ed7
1 file changed
+10
@@ -0,0 +1,10 @@
|
||||
FROM python:3.13-slim
|
||||
ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1 FASTMCP_HOME=/data/fastmcp PORT=8080
|
||||
WORKDIR /app
|
||||
COPY requirements.txt ./
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
COPY tea_mcp ./tea_mcp
|
||||
RUN python -m py_compile tea_mcp/server.py && useradd --create-home --uid 10001 tea && mkdir -p /data && chown tea /data
|
||||
USER tea
|
||||
EXPOSE 8080
|
||||
CMD ["python", "-m", "tea_mcp.server"]
|
||||
Reference in new issue
Block a user