app-template (0.8.3)

Published 2026-08-26 01:41:44 +00:00 by plat in open-platform/app-template

Installation

docker pull git.open-platform.sh/plat/app-template:0.8.3
sha256:7fa2a692986ff354b6372b36d49410be3b2940254f324e76a287029417aeaf0e

About this package

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

Image layers

ADD alpine-minirootfs-3.22.5-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
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 /usr/local/bin/bun /usr/local/bin/ # buildkit
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
RUN |2 BUN_RUNTIME_TRANSPILER_CACHE_PATH=0 BUN_INSTALL_BIN=/usr/local/bin /bin/sh -c mkdir -p /usr/local/bun-node-fallback-bin && ln -s /usr/local/bin/bun /usr/local/bun-node-fallback-bin/node # buildkit
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bun-node-fallback-bin
RUN |2 BUN_RUNTIME_TRANSPILER_CACHE_PATH=0 BUN_INSTALL_BIN=/usr/local/bin /bin/sh -c addgroup -g 1000 bun && adduser -u 1000 -G bun -s /bin/sh -D bun && ln -s /usr/local/bin/bun /usr/local/bin/bunx && apk add libgcc libstdc++ && 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.lock ./ # buildkit
RUN /bin/sh -c bun install --frozen-lockfile --production # buildkit
COPY /app/dist ./dist # buildkit
COPY /app/web/dist ./web/dist # buildkit
COPY design ./design # buildkit
ARG VERSION=0.8.3
ENV APP_VERSION=0.8.3
ENV NODE_ENV=production
EXPOSE [8080/tcp]
USER bun
CMD ["bun" "dist/server.js"]

Labels

Key Value
org.opencontainers.image.created 2026-08-20T14:09:22.661Z
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 34cbb9a40b4bd1bd767d134a7065e66c2432a676
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.4.0-alpine
Details
Container
2026-08-26 01:41:44 +00:00
0
OCI / Docker
linux/amd64
NOASSERTION
52 MiB
Versions (3) View all
0.0.0-pr.26.3fb911a 2026-09-01
0.8.3 2026-08-26
0.0.0-pr.25.2c02f77 2026-08-26