add docker support (#1)

This commit is contained in:
HappyLoLTroll 2025-04-15 21:12:27 +02:00 committed by GitHub
parent 6a790440de
commit ea0b225c65
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 64 additions and 1 deletions

24
Dockerfile Normal file
View file

@ -0,0 +1,24 @@
FROM golang:alpine
RUN apk update && \
apk upgrade && \
apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community \
ffmpeg \
libheif \
libheif-dev \
bash \
git \
pkgconfig \
build-base
WORKDIR /bot
RUN mkdir downloads
COPY . .
RUN chmod +x build.sh
RUN ./build.sh
ENTRYPOINT ["./govd"]