feat: add Dockerfile for multi-stage container build

This commit is contained in:
2026-02-09 18:16:40 -06:00
parent e74ebfd802
commit 749bde1d4f

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM oven/bun:alpine AS builder
WORKDIR /app
COPY . .
ENV NODE_ENV=production
RUN bun install --frozen-lockfile --production
FROM joseluisq/static-web-server:2-alpine AS runner
WORKDIR /public
COPY --from=builder /app/dist .
EXPOSE 80