1
0
mirror of https://github.com/chapvic/telegram-notify.git synced 2025-04-18 02:17:36 +03:00
telegram-notify/Dockerfile

9 lines
214 B
Docker

FROM golang:1.22 AS builder
WORKDIR /app
COPY . /app
RUN CGO_ENABLED=0 go build -v -o telegram-notify .
FROM alpine:latest
COPY --from=builder /app/telegram-notify /telegram-notify
ENTRYPOINT ["/telegram-notify"]