bloaterbot
This commit is contained in:
parent
52f69d518a
commit
d53b439455
15 changed files with 452 additions and 0 deletions
25
Dockerfile
Normal file
25
Dockerfile
Normal file
|
@ -0,0 +1,25 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
FROM golang:1.20-alpine
|
||||
WORKDIR /tmp
|
||||
|
||||
#install update system and install packages
|
||||
RUN apk update
|
||||
RUN apk upgrade --available
|
||||
|
||||
#install yt-dlp
|
||||
RUN pip3 install yt-dlp
|
||||
|
||||
#build nenefootbot
|
||||
WORKDIR /app
|
||||
|
||||
COPY * ./
|
||||
|
||||
RUN go mod download
|
||||
|
||||
|
||||
RUN go build -o /bloaterbot
|
||||
|
||||
ENV NENEFOOTBOT_APITOKEN $NENEFOOTBOT_APITOKEN
|
||||
ENV NENEFOOTBOT_DEBUGMODE $NENEFOOTBOT_DEBUGMODE
|
||||
|
||||
CMD [ "/bloaterbot" ]
|
Loading…
Add table
Add a link
Reference in a new issue