phoneassistant/Dockerfile
Elizabeth Hunt 239f4006b0
All checks were successful
continuous-integration/drone/push Build is passing
listen to ntfy topics
2025-01-13 22:16:14 -08:00

14 lines
445 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", "passt", "--ntfy-endpoint", "https://ntfy.simponic.hatecomputers.club", "--ntfy-listener"]