momentum (0.23.1)
Published 2024-06-27 21:52:37 -04:00 by ztimson
Installation
docker pull git.zakscode.com/ztimson/momentum:0.23.1
sha256:3d5324c7d84f88448b0b2f342363baa24584006c0232a0363dae72d76dc7bbd0
About this package
Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
Image Layers
ADD file:aa183dc07d0f6a47c02f7f1388fa0ce4639ad328111172149be7c7c65d634ded in / |
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 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 && 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"] |
ARG NODE_ENV=prod |
ARG NODE_OPTIONS=--max_old_space_size=2048 |
ENV PORT=80 NODE_ENV=prod NODE_OPTIONS=--max_old_space_size=2048 TZ=UTC |
RUN |2 NODE_ENV=prod NODE_OPTIONS=--max_old_space_size=2048 /bin/sh -c apk add --no-cache chromium curl ttf-freefont tzdata udev # buildkit |
RUN |2 NODE_ENV=prod NODE_OPTIONS=--max_old_space_size=2048 /bin/sh -c mkdir /app # buildkit |
COPY . /app/ # buildkit |
WORKDIR /app/server |
RUN |2 NODE_ENV=prod NODE_OPTIONS=--max_old_space_size=2048 /bin/sh -c cd /app/lib && if [ ! -d "dist" ]; then bun i && bun run build; fi && rm -r node_modules src bun.lockb # buildkit |
RUN |2 NODE_ENV=prod NODE_OPTIONS=--max_old_space_size=2048 /bin/sh -c if [ ! -d "/app/server/ui" ]; then cd /app/ui && bun i && bun run build; fi && cd /app/server && rm -r /app/ui # buildkit |
RUN |2 NODE_ENV=prod NODE_OPTIONS=--max_old_space_size=2048 /bin/sh -c if [ ! -d "node_modules" ]; then bun i; fi && bun run build # buildkit |
EXPOSE map[80/tcp:{}] |
HEALTHCHECK &{["CMD-SHELL" "curl --fail \"http://localhost:$PORT/api/healthcheck\""] "30s" "10s" "0s" "0s" '\x03'} |
CMD ["bun" "src/main.ts"] |
Labels
Key | Value |
---|---|
org.opencontainers.image.created | 2024-06-25T04:24:39.172Z |
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 | bb66bba1bf6d57983e7efef7ab706bce12137028 |
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.17-alpine |
Details
2024-06-27 21:52:37 -04:00
Versions (69)
View all
Container
5
OCI / Docker
linux/amd64
NOASSERTION
337 MiB