diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..4b1a294 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +# Build stage +FROM oven/bun:1 AS builder +WORKDIR /app +COPY package.json bun.lockb* ./ +RUN bun install --frozen-lockfile +COPY . . +RUN bun run build + +# Final stage +FROM oven/bun:1-alpine +WORKDIR /app +COPY --from=builder /app/dist . +EXPOSE 3000 +ENTRYPOINT ["bun", "run", "index.html"]