Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript
490 B
Raw Blame
FROM node:24.22.1-alpine AS builder

WORKDIR /app

COPY package*.json ./
RUN npm ci

COPY tsconfig.json ./
COPY src/ ./src/
RUN npm run build

FROM node:24.22.1-alpine

WORKDIR /app

RUN mkdir -p /output

COPY --from=builder /app/dist ./dist
COPY --from=builder /app/node_modules ./node_modules
COPY package.json ./

RUN addgroup -g 1001 -S mcp && adduser -S mcp -u 1001 && chown -R mcp:mcp /output
USER mcp

ENV PORT=3000
ENV OUTPUT_DIR=/output

EXPOSE 3000

CMD ["node", "dist/index.js"]