Sign inSign up

ogulcanaydogan/bun-webapp

By ogulcanaydogan

•Updated 8 months ago

Production-ready Bun web application base image

Image
0

873

ogulcanaydogan/bun-webapp repository overview

⁠Bun Webapp

Production-ready Bun web application base image.

⁠Quick Start

docker run -p 3000:3000 ogulcanaydogan/bun-webapp

⁠Features

  • Bun runtime (fast JavaScript/TypeScript runtime)
  • Built-in health check endpoint
  • Non-root user for security
  • Graceful shutdown handling
  • TypeScript support out of the box

⁠Environment Variables

VariableDescriptionDefault
PORTApplication port3000

⁠Usage as Base Image

FROM ogulcanaydogan/bun-webapp
COPY package.json bun.lockb ./
RUN bun install --production
COPY . .
CMD ["bun", "run", "server.ts"]

⁠License

MIT

Tag summary

Content type

Image

Digest

sha256:43332f859…

Size

45.5 MB

Last updated

8 months ago

docker pull ogulcanaydogan/bun-webapp