Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
ADD file:603894b180221fc8174e291cd1177a2b9c09a07d1d9ba4d5b5aecdf80ad91fbb in / |
CMD ["bash"] |
COPY docker-entrypoint.sh /usr/local/bin # buildkit |
COPY /usr/local/bin/bun /usr/local/bin/bun # buildkit |
ARG BUN_RUNTIME_TRANSPILER_CACHE_PATH=0 |
ENV BUN_RUNTIME_TRANSPILER_CACHE_PATH=0 |
ARG BUN_INSTALL_BIN=/usr/local/bin |
ENV BUN_INSTALL_BIN=/usr/local/bin |
RUN |2 BUN_RUNTIME_TRANSPILER_CACHE_PATH=0 BUN_INSTALL_BIN=/usr/local/bin /bin/sh -c groupadd bun --gid 1000 && useradd bun --uid 1000 --gid bun --shell /bin/sh --create-home && 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"] |
COPY ./build/api . # buildkit |
COPY ./packages/database/src/migrations ./migrations # buildkit |
ENV HOST=0.0.0.0 |
ENV PORT=3000 |
USER bun |
EXPOSE map[3000/tcp:{}] |
ENTRYPOINT ["bun" "run" "index.js"] |
Key |
Value |
org.opencontainers.image.created |
2024-11-02T05:33:13.055Z |
org.opencontainers.image.description |
Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one |
org.opencontainers.image.licenses |
NOASSERTION |
org.opencontainers.image.revision |
5e5e7c60f1004c79a3f87e1f5470ee19d57f10d0 |
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.1.34 |