All checks were successful
Build and Push Docs Image / build (push) Successful in 2m10s
10 lines
258 B
Docker
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
|