File size: 656 Bytes
6cefeec e57d3fe 6cefeec 0901996 e57d3fe 6cefeec 8f0b0ef 6cefeec | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | FROM python:3.13-slim
RUN apt-get update && \
apt-get install -y \
bash \
git git-lfs \
wget curl procps && \
rm -rf /var/lib/apt/lists/*
COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv
WORKDIR /app
COPY wheels /tmp/wheels
RUN uv pip install --system --no-cache \
"fast-agent-mcp==0.6.24" \
/tmp/wheels/prefab_ui-0.13.2.dev5+a585463-py3-none-any.whl \
huggingface_hub \
"pydantic-monty==0.0.17"
COPY --link ./ /app
RUN chown -R 1000:1000 /app
USER 1000
ENV HOST=0.0.0.0
ENV PORT=7860
ENV MCP_PATH=/mcp
ENV PYTHONUNBUFFERED=1
EXPOSE 7860
CMD ["python", "scripts/hub_search_prefab_server.py"]
|