Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/theotterlord/docker-bun

Docker base images for bun!
https://github.com/theotterlord/docker-bun

bun docker image

Last synced: 2 months ago
JSON representation

Docker base images for bun!

Awesome Lists containing this project

README

        

Docker Bun

Containerise your Bun apps with Docker! This is an unofficial docker image repository, covering the common base images. PRs to improve the images are welcome.

## Example Dockerfile

```Dockerfile
FROM ghcr.io/theotterlord/bun:alpine

WORKDIR /app

COPY package.json bun.lockb bunfig.toml ./

RUN bun install
# skip installing devDependencies in production
# RUN bun install --production

# copy app source
COPY . .

# run entrypoint file with bun
CMD ["bun", "index.js"]
```