From 7803e845dd65b8af1cd072c5f32e830137d5bf7c Mon Sep 17 00:00:00 2001 From: SrJuggernaut Date: Tue, 3 Mar 2026 16:06:56 -0600 Subject: [PATCH] feat: add Dockerfile for containerized build and deployment --- Dockerfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..af91dda --- /dev/null +++ b/Dockerfile @@ -0,0 +1,19 @@ +FROM oven/bun:alpine AS builder + +WORKDIR /app + +COPY . . +ENV NODE_ENV=production +ENV CI=true +RUN bun install --frozen-lockfile --production + +RUN bun run build + +FROM joseluisq/static-web-server:2-alpine AS runner + +WORKDIR /public + +COPY --from=builder /app/dist . +ENV SERVER_ROOT="/public" + +EXPOSE 80 \ No newline at end of file