feat: add initial configuration files for Caddy and Docker setup

This commit is contained in:
2026-03-29 05:14:54 +00:00
parent 88bfefd09c
commit d3e5521792
3 changed files with 18 additions and 1 deletions

0
caddy/Caddyfile Normal file
View File

16
caddy/Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM oven/bun:latest AS builder
WORKDIR /app
COPY package.json bun.lock ./
RUN bun install --frozen-lockfile
COPY . .
RUN bun run build
FROM caddy:latest
WORKDIR /app
COPY --from=builder /app/out ./
COPY caddy/Caddyfile /etc/caddy/Caddyfile

View File

@@ -1,7 +1,8 @@
import type { NextConfig } from "next"; import type { NextConfig } from "next";
const nextConfig: NextConfig = { const nextConfig: NextConfig = {
/* config options here */ output: "export",
trailingSlash: true,
}; };
export default nextConfig; export default nextConfig;