Skip to content

Commit

Permalink
feat: Add message.tmpl to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-karan committed May 5, 2021
1 parent aecdbc2 commit e8c96ba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM alpine:latest AS deploy
RUN apk --no-cache add ca-certificates
COPY calert /
WORKDIR /app
COPY calert .
COPY config.sample.toml /etc/calert/config.toml
COPY message.tmpl /etc/calert/message.tmpl
VOLUME ["/etc/calert"]
CMD ["./calert", "--config.file", "/etc/calert/config.toml"]
CMD ["./calert", "--config.file", "/etc/calert/config.toml"]
2 changes: 1 addition & 1 deletion config.sample.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ write_timeout=5000
keepalive_timeout=300000

[app]
template_file = "message.tmpl"
template_file = "/etc/calert/message.tmpl"
max_size = 4000

[app.http_client]
Expand Down

0 comments on commit e8c96ba

Please sign in to comment.