- SEC filings extraction (10-K, 10-Q, 8-K) - Portfolio analytics with real-time prices - Watchlist management - NextAuth.js authentication - OpenClaw AI integration - PostgreSQL database with auto P&L calculations - Elysia.js backend (Bun runtime) - Next.js 14 frontend (TailwindCSS + Recharts) - Production-ready Docker configurations
29 lines
497 B
Docker
29 lines
497 B
Docker
FROM node:20-alpine AS base
|
|
WORKDIR /app
|
|
|
|
# Install dependencies
|
|
FROM base AS install
|
|
RUN npm install -g bun
|
|
COPY package.json ./
|
|
RUN bun install
|
|
|
|
# Build
|
|
FROM base AS build
|
|
COPY --from=install /app/node_modules ./node_modules
|
|
COPY . .
|
|
RUN bun build
|
|
|
|
# Production
|
|
FROM base AS release
|
|
RUN npm install -g bun
|
|
COPY --from=install /app/node_modules ./node_modules
|
|
COPY --from=build /app/dist ./dist
|
|
COPY package.json .
|
|
|
|
ENV NODE_ENV=production
|
|
ENV PORT=3001
|
|
|
|
EXPOSE 3001
|
|
|
|
CMD ["bun", "run", "start"]
|