feat: add initial configuration files for Caddy and Docker setup
This commit is contained in:
0
caddy/Caddyfile
Normal file
0
caddy/Caddyfile
Normal file
16
caddy/Dockerfile
Normal file
16
caddy/Dockerfile
Normal 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
|
||||
@@ -1,7 +1,8 @@
|
||||
import type { NextConfig } from "next";
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
/* config options here */
|
||||
output: "export",
|
||||
trailingSlash: true,
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
|
||||
Reference in New Issue
Block a user