phoneof/Dockerfile

14 lines
379 B
Docker
Raw Normal View History

2025-01-03 04:47:07 -05:00
FROM golang:1.23
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN go build -o /app/phoneof
EXPOSE 8080
2025-01-03 04:55:34 -05:00
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"]