diff options
author | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-08-14 18:32:51 +0300 |
---|---|---|
committer | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-08-14 18:32:51 +0300 |
commit | 9f4fbd85cd138820e4cf0f87b77a2c80ae770b1a (patch) | |
tree | 11d9f3a0d41eb17a98e02087760541fd46fb70d0 /Dockerfile |
initial
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..eaeb20a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,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"]
\ No newline at end of file |