phoneassistant/Dockerfile
Elizabeth Hunt 18a945aab9
Some checks failed
continuous-integration/drone/push Build is failing
initial commit by simponic-infra
2025-01-12 23:09:34 -08:00

14 lines
426 B
Docker

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"]