mirror of
https://github.com/samanhappy/mcphub.git
synced 2025-12-23 18:29:21 -05:00
19 lines
319 B
Docker
19 lines
319 B
Docker
FROM python:3.12-slim-bookworm
|
|
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
|
|
|
|
FROM node:22-alpine
|
|
RUN npm config set registry https://registry.npmmirror.com
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package.json pnpm-lock.yaml ./
|
|
RUN npm install -g pnpm && pnpm install
|
|
|
|
COPY . .
|
|
|
|
RUN pnpm build
|
|
|
|
EXPOSE 3000
|
|
|
|
CMD ["pnpm", "start"]
|