Bug fixes pipeline

This commit is contained in:
admin 2026-02-06 19:30:35 +07:00
parent c2eb020d5c
commit 156e280ecb

View File

@ -18,7 +18,15 @@ RUN apk --no-cache add ca-certificates tzdata && \
WORKDIR /app WORKDIR /app
COPY --from=builder /app/nats-ui . 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 RUN chmod +x nats-ui && chown -R appuser:appuser /app