feat: containerize

This commit is contained in:
js0ny 2025-12-06 09:48:30 +00:00
parent 83bb72faac
commit 82a78da81b
10 changed files with 319 additions and 55 deletions

11
drone-frontend/Dockerfile Normal file
View file

@ -0,0 +1,11 @@
# Build stage
FROM oven/bun:1.3-debian as builder
WORKDIR /app
COPY bun.lock package.json .
RUN bun install --frozen-lockfile
COPY . .
RUN bun run build
# Serve built assets via Vite preview
EXPOSE 4173
CMD ["bun", "run", "preview", "--", "--host", "0.0.0.0", "--port", "4173"]