add frontend docker build and deploy and gitea action

This commit is contained in:
2026-02-19 09:07:01 -08:00
parent 402ae9bf9b
commit 6c2379976d
12 changed files with 176 additions and 14 deletions
+13
View File
@@ -0,0 +1,13 @@
# Build stage
FROM oven/bun:latest AS builder
WORKDIR /app
COPY package.json bun.lock ./
RUN bun install
COPY . .
RUN bun run build
# Serve stage
FROM nginx:alpine
COPY --from=builder /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80