feat: containerize
This commit is contained in:
parent
83bb72faac
commit
82a78da81b
10 changed files with 319 additions and 55 deletions
11
drone-frontend/Dockerfile
Normal file
11
drone-frontend/Dockerfile
Normal 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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue