Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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!
- Host: GitHub
- URL: https://github.com/theotterlord/docker-bun
- Owner: TheOtterlord
- Created: 2022-07-24T12:38:09.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-18T12:42:13.000Z (over 2 years ago)
- Last Synced: 2024-10-04T19:48:45.768Z (3 months ago)
- Topics: bun, docker, image
- Language: Dockerfile
- Homepage:
- Size: 4.88 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- 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:alpineWORKDIR /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"]
```