momentum (0.24.1)

Published 2024-06-28 23:05:47 -04:00 by ztimson

Installation

docker pull git.zakscode.com/ztimson/momentum:0.24.1
sha256:da15bfeee0b25a8c1555198130d10dadbfc7d1f498864eb1401681834fda9a87

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
Container
2024-06-28 23:05:47 -04:00
130
OCI / Docker
linux/amd64
NOASSERTION
337 MiB
Versions (69) View all
latest 2024-12-03
0.50.0 2024-12-03
develop 2024-12-03
0.49.0 2024-11-09
0.48.0 2024-11-04