| 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 |
| LABEL org.opencontainers.image.source=https://git.supported.systems/rsp2k/admin-vpn-headplane |
| LABEL org.opencontainers.image.description=Heady (Astro fork) for admin.vpn.supported.systems |
| WORKDIR /app |
| COPY /app/dist ./dist # buildkit |
| COPY /app/node_modules ./node_modules # buildkit |
| COPY /app/package.json ./ # buildkit |
| ENV NODE_ENV=production |
| ENV HOST=0.0.0.0 |
| ENV PORT=3000 |
| EXPOSE [3000/tcp] |
| CMD ["./dist/server/entry.mjs"] |