https://github.com/theotterlord/docker-bun
Docker base images for bun!
https://github.com/theotterlord/docker-bun
bun docker image
Last synced: about 1 year ago
JSON representation
Docker base images for bun!
- Host: GitHub
- URL: https://github.com/theotterlord/docker-bun
- Owner: TheOtterlord
- Created: 2022-07-24T12:38:09.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-18T12:42:13.000Z (almost 4 years ago)
- Last Synced: 2025-05-12T13:15:07.847Z (about 1 year ago)
- Topics: bun, docker, image
- Language: Dockerfile
- Homepage:
- Size: 4.88 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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"]
```