Files
DiunDashboard/docs/Dockerfile
Jean-Luc Makiola 4358de87ba
All checks were successful
CI / build-test (push) Successful in 1m1s
**feat(docs):** add Dockerfile and Nginx config for static site deployment
- Introduce `Dockerfile` for building and serving static site using Bun and Nginx
- Add `nginx.conf` for configuring static file caching and routing rules
- Expose port 80 for containerized deployment
2026-02-27 15:33:04 +01:00

12 lines
273 B
Docker

FROM oven/bun:1-alpine AS build
WORKDIR /app
COPY package.json bun.lock ./
RUN bun install --frozen-lockfile
COPY . .
RUN bun run build
FROM nginx:alpine
COPY --from=build /app/.vitepress/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80