busi488budgetbuddy/Dockerfile
Joey Eamigh c88d4ba1a8
Customize myAI3 as BudgetBuddy personal finance assistant
- Configure identity, prompts, guardrails for personal finance domain
- Add 6 knowledge sources to Pinecone RAG (budgeting, investing, credit, etc.)
- Add password protection via Next.js middleware
- Add Dockerfile for container deployment
- Customize terms of use with financial disclaimers
2026-04-05 12:14:59 -04:00

26 lines
590 B
Docker

FROM oven/bun:1 AS base
FROM base AS deps
WORKDIR /app
COPY package.json bun.lock ./
RUN bun install --frozen-lockfile
FROM base AS builder
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .
RUN bun run build
FROM base AS runner
WORKDIR /app
ENV NODE_ENV=production
RUN adduser --system --uid 1001 nextjs
COPY --from=builder /app/public ./public
COPY --from=builder --chown=1001:1001 /app/.next/standalone ./
COPY --from=builder --chown=1001:1001 /app/.next/static ./.next/static
USER nextjs
EXPOSE 3000
ENV PORT=3000
ENV HOSTNAME="0.0.0.0"
CMD ["bun", "server.js"]