telegram-to-discord/Dockerfile
2026-03-05 16:24:34 +03:00

21 lines
No EOL
269 B
Docker

FROM golang:1.25.7-alpine3.23 AS builder
WORKDIR /build
COPY go.* ./
RUN go mod tidy
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -o app ./
FROM alpine:latest
RUN mkdir -p /home
COPY --from=builder /build/app /home/app
CMD ["./home/app"]