File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 11# ----------------------
22# 1. Build stage
33# ----------------------
4- FROM node:22 -alpine AS builder
4+ FROM node:24 -alpine AS builder
55
66# Git is required because docs/package.json pulls a dependency from GitHub.
77RUN apk add --no-cache git openssh-client
@@ -13,24 +13,24 @@ COPY docs/ ./
1313RUN npm ci
1414
1515# Increase max-old-space-size to avoid memory issues during build
16- ENV NODE_OPTIONS="--max-old-space-size=8192"
16+ # ENV NODE_OPTIONS="--max-old-space-size=8192"
1717
1818# Build the site.
1919RUN npm run docs:build
2020
2121# ----------------------
22- # 2. Runtime stage (nginx )
22+ # 2. Runtime stage (angie )
2323# ----------------------
24- FROM nginx:1.27-alpine AS runner
24+ FROM docker.angie.software/angie:latest AS runner
2525
2626# Copy built files
27- COPY --from=builder /app/docs/.vitepress/dist /usr/share/nginx /html
27+ COPY --from=builder /app/docs/.vitepress/dist /usr/share/angie /html
2828
2929# Expose port
3030EXPOSE 80
3131
3232# Health check (optional)
3333HEALTHCHECK CMD wget --quiet --tries=1 --spider http://localhost:80/ || exit 1
3434
35- # Start nginx
36- CMD ["nginx " , "-g" , "daemon off;" ]
35+ # Start angie
36+ CMD ["angie " , "-g" , "daemon off;" ]
You can’t perform that action at this time.
0 commit comments