summaryrefslogtreecommitdiff
path: root/Dockerfile
blob: eaeb20a15ff7177d39395f58ce6a11253f0181f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# syntax=docker/dockerfile:1

FROM golang:1.23.0-alpine

WORKDIR /app

COPY go.mod go.sum ./
RUN go mod download

COPY . .

RUN CGO_ENABLED=0 GOOS=linux go build -o /ytbot

ENV TELEGRAM_TOKEN="279146841:AAE9Yd2W........_gAhbO3usM"

CMD ["/ytbot"]