mirror of
https://github.com/modelcontextprotocol/servers.git
synced 2026-04-18 20:54:10 +02:00
18 lines
303 B
Docker
18 lines
303 B
Docker
FROM node:22.12-alpine as builder
|
|
|
|
WORKDIR /app
|
|
|
|
COPY src/filesystem /app
|
|
COPY tsconfig.json /tsconfig.json
|
|
|
|
RUN --mount=type=cache,target=/root/.npm npm install
|
|
|
|
FROM node:22-alpine AS release
|
|
|
|
COPY --from=builder /app/dist /app
|
|
|
|
ENV NODE_ENV=production
|
|
|
|
WORKDIR /app
|
|
|
|
CMD ["node", "dist/index.js"] |