From 18a945aab9b3129b82076f633fab1d13ba28148e Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Sun, 12 Jan 2025 23:09:34 -0800 Subject: initial commit by simponic-infra --- Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..f82bdb6 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM golang:1.23 +WORKDIR /app + +COPY go.mod go.sum ./ +RUN go mod download + +COPY . . + +RUN go build -o /app/phoneassistant + +EXPOSE 8080 + +CMD ["/app/phoneassistant", "--server", "--migrate", "--port", "8080", "--template-path", "/app/templates", "--database-path", "/app/db/phoneassistant.db", "--static-path", "/app/static", "--scheduler", "--ntfy-topics", "whois", "--ntfy-endpoint", "https://ntfy.simponic.hatecomputers.club"] -- cgit v1.2.3-70-g09d2