Skip to content

Commit 2416071

Browse files
committed
adjust Dockerfile to use NodeJS 24 and angie
1 parent 939c13e commit 2416071

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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.
77
RUN apk add --no-cache git openssh-client
@@ -13,24 +13,24 @@ COPY docs/ ./
1313
RUN 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.
1919
RUN 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
3030
EXPOSE 80
3131

3232
# Health check (optional)
3333
HEALTHCHECK 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;"]

0 commit comments

Comments
 (0)