HFMCP / Dockerfile
StarrySkyWorld's picture
Update Dockerfile
6440980 verified
raw
history blame contribute delete
370 Bytes
FROM ghcr.io/astral-sh/uv:debian
WORKDIR /app
RUN apt update -y && apt install -y wget curl git unzip \
&& apt clean && rm -rf /var/lib/apt/lists/*
COPY main.py /app/main.py
# 使用独立的 fastmcp 包
RUN cd /app && uv init && uv add fastmcp uvicorn starlette fastapi
RUN mkdir -p /srv/files && chmod 755 /srv/files
EXPOSE 7860
CMD ["uv", "run", "main.py"]