telegram-ollama-reply-bot/Dockerfile
Alexey Skobkin b20c248fd9
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Adding Dockerfile and adding image building to the Drone pipeline. Also adding running instructions to the README.md.
2024-03-10 05:19:50 +03:00

17 lines
159 B
Docker

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