fix(infra): replace short -S flags with long --system/--ingroup in hub Dockerfile

The oven/bun:1.2 base image was updated and -S flag on adduser is
now ambiguous between --shell and --system, causing build failure.
This commit is contained in:
asepharyana
2026-07-25 19:02:00 +07:00
parent 18cabefe9c
commit 22e8a872cd
+1 -1
View File
@@ -8,7 +8,7 @@ RUN bun run build
# ── Runtime ──
FROM oven/bun:1.2 AS runtime
RUN addgroup -S appgroup && adduser -S appuser -G appgroup
RUN addgroup --system appgroup && adduser --system appuser --ingroup appgroup
WORKDIR /app
COPY --from=builder /app/.next ./.next
COPY --from=builder /app/node_modules ./node_modules