blob: 6051f082687ec417684f9820661d24d5bcaae5db (
plain) (
tree)
|
|
FROM alpine:3.13 as builder
RUN apk update && apk upgrade
RUN apk add go git
COPY go.* /telebot/
RUN cd /telebot && go mod download
COPY *.go /telebot/
RUN cd /telebot && go build
FROM gcr.io/distroless/static-debian10
COPY --from=builder /telebot/telebot /telebot/
COPY ./docker-entrypoint.sh /telebot/
ENTRYPOINT ["/telebot/docker-entrypoint.sh"]
|