Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
ADD file:1b8ac8ec2b2cbdfc9682f076e7e579579d6df6235ed23b2e63f8eec671c52e92 in / |
CMD ["bash"] |
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 |
COPY docker-entrypoint.sh /usr/local/bin # buildkit |
COPY /usr/local/bin/bun /usr/local/bin/bun # buildkit |
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"] |
WORKDIR /app/ |
COPY package.json bun.lockb . |
RUN bun install |
COPY src/ src/ |
COPY index.html vite.config.js . |
RUN bun run build |
Key |
Value |
org.opencontainers.image.created |
2024-09-07T13:28:15.612Z |
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 |
267afa293483d5ed5f834a6d35350232188e3f98 |
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.27-slim |