fix: use npm in Dockerfile.docs for better resolution

This commit is contained in:
lotherk
2026-03-27 02:46:56 +00:00
parent a67f2f1b34
commit afacab4e36
7 changed files with 7361 additions and 35 deletions

View File

@@ -1,12 +1,12 @@
FROM oven/bun:1.1-alpine AS builder
FROM node:20-alpine AS builder
WORKDIR /app/docs
COPY docs/package.json ./
RUN bun install
COPY docs/package*.json ./
RUN npm install
COPY docs ./
RUN bun run build
RUN npm run build
FROM nginx:alpine