| bazel build @bookworm//base-files/amd64:data_statusd |
| bazel build @bookworm//netbase/amd64:data_statusd |
| bazel build @bookworm//tzdata/amd64:data_statusd |
| bazel build @bookworm//media-types/amd64:data_statusd |
| bazel build //common:rootfs |
| bazel build //common:passwd |
| bazel build //common:home |
| bazel build //common:group |
| bazel build //common:tmp |
| bazel build //static:nsswitch |
| bazel build //common:os_release_debian12 |
| bazel build //common:cacerts_debian12_amd64 |
| bazel build @bookworm//libc6/amd64:data_statusd |
| bazel build @bookworm//libssl3/amd64:data_statusd |
| bazel build @bookworm//libgomp1/amd64:data_statusd |
| bazel build @bookworm//libstdc++6/amd64:data_statusd |
| bazel build @bookworm//libgcc-s1/amd64:data_statusd |
| bazel build @bookworm//gcc-12-base/amd64:data_statusd |
| bazel build @nodejs22_amd64//:data |
| ENV NODE_ENV=production PORT=3000 HOSTNAME=0.0.0.0 NEXT_TELEMETRY_DISABLED=1 |
| WORKDIR /app |
| COPY --chown=65532:65532 /app ./ # buildkit |
| COPY --chown=65532:65532 /app/apps/web/.next/static ./apps/web/.next/static # buildkit |
| EXPOSE map[3000/tcp:{}] |
| HEALTHCHECK &{["CMD" "/nodejs/bin/node" "-e" "fetch('http://127.0.0.1:3000/login').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"] "30s" "5s" "15s" "0s" '\x03'} |
| CMD ["apps/web/server.js"] |