bun-deploy

Generate optimized multi-stage Docker images for Bun applications.

6|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/memoirlabs/mog --skill bun-deploy-memoirlabs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bun-deploy
Source: https://github.com/memoirlabs/mog/tree/main/.agents/skills/bun-deploy
Command: npx skills add https://github.com/memoirlabs/mog --skill bun-deploy-memoirlabs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill solves the challenge of producing production-ready Docker images for Bun applications that are small, secure, and practical to deploy.

Core Features & Use Cases

  • Optimized Docker image building for Bun: Generates multi-stage Dockerfiles and minimal binary container patterns that reduce image size for production deployments.
  • Production deployment readiness: Provides healthcheck setup, non-root container configuration, and a completion checklist to reduce runtime and orchestration issues.
  • Deployment-ready ecosystems: Covers CI/CD pipeline patterns and Kubernetes deployment considerations (including manifests guidance) for running the containers reliably.

Use case example: You have a Bun web app that must run on Kubernetes with health checks and minimal container size; use this Skill to generate a Dockerfile, .dockerignore, a healthcheck script, and deployment patterns for CI/CD and K8s.

Quick Start

Ask your AI to generate a production-ready Dockerfile for a Bun web app with a health endpoint, optimized multi-stage build, and instructions for Kubernetes deployment.

Frequently Asked Questions about bun-deploy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create an optimized Docker image for a Bun web app?

Optimized Docker images for Bun are generated using multi-stage Dockerfiles or compiled minimal binaries, reducing final image size for production deployments.

What's the best way to deploy Bun applications on Kubernetes?

Deploying Bun applications on Kubernetes involves generating minimal container images alongside Kubernetes manifests and healthcheck configurations to ensure reliable orchestration and runtime stability.

Does this Docker build process include healthcheck and security configurations?

Yes, the Docker build process includes healthcheck setup and non-root container configurations to enhance production security and reduce runtime orchestration issues.

Can I use this to generate CI/CD pipeline templates for Bun?

Yes, you can generate CI/CD pipeline patterns for Bun applications, providing deployment-ready templates that integrate optimized container builds into automated build pipelines.

Do I need a specific Bun version to build minimal Docker containers?

Yes, building minimal Docker containers with this multi-stage approach requires Bun 1.0 or higher to support compiled minimal binaries and optimized multi-stage builds.

Why is my Bun Docker image so large and inefficient?

Bun Docker images become large and inefficient without optimization; applying multi-stage Docker patterns and compiled minimal binaries solves oversized container deployments by stripping unused dependencies.