krz/brand-bench

A dynamic brand documentation generator with Ollama integration. branding documentation generator ollama

Dockerfile

main
brand-bench/Dockerfile history · blame · raw

18 lines · 644 bytes

 1# ── Stage 1: build ───────────────────────────────────────────────────────────
 2FROM node:22-alpine AS build
 3
 4WORKDIR /app
 5
 6COPY package*.json ./
 7RUN npm ci
 8
 9COPY . .
10RUN npm run build
11
12# ── Stage 2: serve ───────────────────────────────────────────────────────────
13FROM nginx:alpine
14
15COPY --from=build /app/dist /usr/share/nginx/html
16COPY docker/nginx.conf /etc/nginx/conf.d/default.conf
17
18EXPOSE 80