app-template (0.8.4)

Published 2026-09-01 18:06:08 +00:00 by plat in open-platform/app-template

Installation

docker pull git.open-platform.sh/open-platform/app-template:0.8.4
sha256:678246ac32ce0743ef6bf94cb4683f4abb255a8a7c62d91d204ca4bf005002af

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.4
ENV APP_VERSION=0.8.4
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-09-01 18:06:08 +00:00
127
OCI / Docker
linux/amd64
NOASSERTION
52 MiB
Versions (1) View all
0.8.4 2026-09-01