Files
headquarter/apps/web/Dockerfile
T
Fusion a30611fbaf feat(FN-002): complete Step 4 — Docker Compose and Deployment Skeleton
Fusion-Task-Id: FN-002
Fusion-Task-Lineage: 49cb7077-d805-4d39-9a27-ae50744f2839
2026-05-14 07:47:29 +02:00

18 lines
321 B
Docker

FROM node:22-alpine AS builder
WORKDIR /app
COPY package.json ./
RUN npm install -g pnpm@11.1.1 \
&& pnpm install --ignore-scripts \
&& pnpm rebuild esbuild
COPY . .
RUN pnpm build
FROM nginx:alpine
COPY --from=builder /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80