capsule AI-native Unix-like composition layer

src/infra/Dockerfile.frontend

279 bytes · 15 lines · capsule://quake0day/[email protected] raw on github

FROM node:22-alpine AS builder

WORKDIR /app
COPY frontend/package.json frontend/package-lock.json ./
RUN npm ci

COPY frontend/ .
RUN npm run build

FROM nginx:alpine
COPY --from=builder /app/dist /usr/share/nginx/html
COPY infra/nginx.conf /etc/nginx/nginx.conf

EXPOSE 80 443