Skip to content

feat(build): add docker support with the current bun runtime #29

Open
movoid12 wants to merge 2 commits into1612elphi:mainfrom
movoid12:feat/add-docker-support-with-bun-runtime
Open

feat(build): add docker support with the current bun runtime #29
movoid12 wants to merge 2 commits into1612elphi:mainfrom
movoid12:feat/add-docker-support-with-bun-runtime

Conversation

@movoid12
Copy link
Copy Markdown

@movoid12 movoid12 commented May 3, 2026

Docker Support with Bun Runtime

This PR adds optional Docker support for delphitools using Bun for self-hosting option based on the opened Issue -> #22

Added

  • Dockerfile: multi-stage build
    • deps: bun install
    • builder: Next.js build
    • runner: minimal production image
  • docker-compose.yml: port mapping, resource limits, health checks, restart policy, security hardening
  • .dockerignore: smaller build context

Usage

docker-compose up -d
docker-compose logs -f app
docker-compose down
docker-compose up -d --build

Test Validation

  • Image builds successfully
  • Container runs and responds
  • Health checks pass
  • App works on localhost:3000

Summary

This keeps Docker as an optional deployment method while preserving the app’s local, private, static design.

Based on Bun best-practices documentation source: https://bun.com/docs/guides/ecosystem/docker

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 3, 2026

@movoid12 is attempting to deploy a commit to the 1612elphi Team on Vercel.

A member of the Team first needs to authorize it.

@movoid12 movoid12 changed the title feat: Add Docker support with Bun runtime feat(build): add docker support with the current bun runtime May 3, 2026
@movoid12 movoid12 mentioned this pull request May 3, 2026
@movoid12
Copy link
Copy Markdown
Author

movoid12 commented May 4, 2026

Hi @1612elphi, could you please review? I was unable to assign myself to the PR and set you as a reviewer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant