From 156e280ecb022e187f2fb93745f6abbb250973c1 Mon Sep 17 00:00:00 2001 From: admin Date: Fri, 6 Feb 2026 19:30:35 +0700 Subject: [PATCH] Bug fixes pipeline --- Dockerfile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2e861ba..c6ff34b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,15 @@ RUN apk --no-cache add ca-certificates tzdata && \ WORKDIR /app COPY --from=builder /app/nats-ui . -COPY index.html config.yaml ./ +COPY index.html ./ + +# config.yaml is in .gitignore; create default in image (override via volume at runtime) +RUN printf '%s\n' \ + 'nats_url: "nats://localhost:4222"' \ + 'subjects: ">"' \ + 'port: "8080"' \ + 'max_messages: 1000' \ + > config.yaml RUN chmod +x nats-ui && chown -R appuser:appuser /app