momentum (0.27.3)

Published 2024-07-19 11:11:01 -04:00 by ztimson

Installation

docker pull git.zakscode.com/ztimson/momentum:0.27.3
sha256:cd2514be5b8d6ce0fd3cdd74174f52382a4ac0d9fc1232843b28251150d264f5

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 CHROME=/usr/bin/chromium-browser 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 # 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-07-13T06:05:39.005Z
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 ae19489250ab74ee3ea7d5b50fca5d7d2b4e6d66
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.20-alpine
Details
Container
2024-07-19 11:11:01 -04:00
3
OCI / Docker
linux/amd64
NOASSERTION
336 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