feat: migrate to VitePress from monorepo docs, add test-contour section
This commit is contained in:
+10
-1
@@ -1,4 +1,13 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM node:24-alpine AS builder
|
||||
WORKDIR /docs
|
||||
COPY package.json package-lock.json ./
|
||||
RUN npm ci
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
FROM nginx:1.27-alpine
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY site/ /usr/share/nginx/html/
|
||||
COPY --from=builder /docs/.vitepress/dist /usr/share/nginx/html
|
||||
EXPOSE 8080
|
||||
|
||||
Reference in New Issue
Block a user