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
|
||||
Reference in New Issue
Block a user