Add a basic Docker file.

Signed-off-by: Jelmer Vernooij <jelmer@jelmer.uk>
This commit is contained in:
Jelmer Vernooij 2021-05-11 23:04:17 +01:00
parent f5023118ba
commit affccd57c0

9
Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM golang:1.16
WORKDIR /go/src/app
COPY . .
RUN go get -d -v ./...
RUN go install -v ./...
CMD ["alertmanager-irc-relay", "--config=/config.yml"]