feat: add website package with Vite and Caddy

This commit is contained in:
Nathan Flurry 2026-01-25 04:05:12 -08:00
parent 4b483afbae
commit 924bacae4e
5 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,12 @@
FROM node:22-alpine AS build
WORKDIR /app
RUN npm install -g pnpm
COPY package.json pnpm-lock.yaml* ./
RUN pnpm install
COPY . .
RUN pnpm build
FROM caddy:alpine
COPY --from=build /app/dist /srv
COPY Caddyfile /etc/caddy/Caddyfile
EXPOSE 80