Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
| ADD file:fc714080c3bcbbce7ac746a10d7b4355ffa36293a8d435d62cd5359ea8eb8364 in / |
| CMD ["/bin/sh"] |
| ARG BUN_RUNTIME_TRANSPILER_CACHE_PATH=0 |
| ENV BUN_RUNTIME_TRANSPILER_CACHE_PATH=0 |
| COPY /tmp/glibc.apk /tmp/ # buildkit |
| COPY /tmp/glibc-bin.apk /tmp/ # buildkit |
| COPY /usr/local/bin/bun /usr/local/bin/ # buildkit |
| COPY docker-entrypoint.sh /usr/local/bin/ # buildkit |
| RUN |1 BUN_RUNTIME_TRANSPILER_CACHE_PATH=0 /bin/sh -c addgroup -g 1000 bun && adduser -u 1000 -G bun -s /bin/sh -D bun && apk --no-cache --force-overwrite --allow-untrusted add /tmp/glibc.apk /tmp/glibc-bin.apk && rm /tmp/glibc.apk && rm /tmp/glibc-bin.apk && ln -s /usr/local/bin/bun /usr/local/bin/bunx && which bun && which bunx && bun --version # buildkit |
| WORKDIR /home/bun/app |
| ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"] |
| CMD ["/usr/local/bin/bun"] |
| WORKDIR /app/ |
| COPY ./ ./ # buildkit |
| EXPOSE map[8080/tcp:{}] |
| ENV NODE_ENV=production |
| CMD ["bun" "run" "./index.js"] |
| Key |
Value |
| org.opencontainers.image.created |
2024-01-21T14:41:10.960Z |
| org.opencontainers.image.description |
Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one |
| org.opencontainers.image.licenses |
|
| org.opencontainers.image.revision |
353f724a9cd12d1749e974e92bbc47d9138a6601 |
| org.opencontainers.image.source |
https://github.com/oven-sh/bun |
| org.opencontainers.image.title |
bun |
| org.opencontainers.image.url |
https://github.com/oven-sh/bun |
| org.opencontainers.image.version |
1.0.25-alpine |