ui/Dockerfile
myrmidex df07a8ab55
All checks were successful
Build and Push Docs Image / build (push) Successful in 2m10s
3 - Publish the docs site at style.lvl0.xyz
2026-08-23 18:44:18 +02:00

10 lines
258 B
Docker

FROM node:22-alpine AS builder
WORKDIR /site
COPY package.json package-lock.json ./
RUN npm ci
COPY . .
RUN npm run docs:build
FROM nginx:alpine
COPY --from=builder /site/docs/dist /usr/share/nginx/html
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf