| 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 |
| LABEL stage=final-backend |
| WORKDIR /app |
| COPY /app-go/v2fmdash-server . # buildkit |
| COPY /app-go/public ./public/ # buildkit |
| COPY /app-go/utils ./utils/ # buildkit |
| EXPOSE [8091/tcp] |
| ENV PORT_GO_API=8091 |
| CMD ["./v2fmdash-server"] |