telegram-ollama-reply-bot/Dockerfile
Alexey Skobkin f775c1257e
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Changing build image to Alpine to avoid linking errors.
2024-03-10 05:55:28 +03:00

17 lines
166 B
Docker

FROM golang:1-alpine as builder
WORKDIR /build
COPY . .
RUN go build -o app
FROM alpine:latest
WORKDIR /app
COPY --from=builder /build/app .
CMD ["/app/app"]