Elizabeth Hunt
2984a715b8
All checks were successful
continuous-integration/drone/push Build is passing
14 lines
465 B
Docker
14 lines
465 B
Docker
FROM golang:1.23
|
|
WORKDIR /app
|
|
|
|
COPY go.mod go.sum ./
|
|
RUN go mod download
|
|
|
|
COPY . .
|
|
|
|
RUN go build -o /app/phoneof
|
|
|
|
EXPOSE 8080
|
|
|
|
CMD ["/app/phoneof", "--server", "--migrate", "--port", "8080", "--template-path", "/app/templates", "--database-path", "/app/db/phoneof.db", "--static-path", "/app/static", "--scheduler", "--httpsms-endpoint", "https://httpsms.internal.simponic.xyz", "--ntfy-endpoint", "https://ntfy.simponic.hatecomputers.club", "--ntfy-topic", "sms"]
|