Docker
This commit is contained in:
parent
9b25758951
commit
6991325831
7 changed files with 60 additions and 7 deletions
11
Dockerfile
11
Dockerfile
|
@ -12,14 +12,11 @@ RUN pip3 install yt-dlp
|
|||
#build nenefootbot
|
||||
WORKDIR /app
|
||||
|
||||
COPY * ./
|
||||
|
||||
COPY . .
|
||||
RUN go mod download
|
||||
|
||||
RUN mkdir
|
||||
|
||||
RUN go build -o /bloaterbot
|
||||
RUN go build -o bloaterbot
|
||||
|
||||
ENV NENEFOOTBOT_APITOKEN $NENEFOOTBOT_APITOKEN
|
||||
ENV NENEFOOTBOT_DEBUGMODE $NENEFOOTBOT_DEBUGMODE
|
||||
|
||||
CMD [ "/bloaterbot" ]
|
||||
CMD [ "bloaterbot" ]
|
Loading…
Add table
Add a link
Reference in a new issue