Bug fixes pipeline
This commit is contained in:
parent
c2eb020d5c
commit
156e280ecb
10
Dockerfile
10
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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user