add docker support (#1)
This commit is contained in:
parent
6a790440de
commit
ea0b225c65
3 changed files with 64 additions and 1 deletions
24
Dockerfile
Normal file
24
Dockerfile
Normal 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"]
|
Loading…
Add table
Add a link
Reference in a new issue