Last active
December 2, 2021 12:46
-
-
Save hypnguyen1209/b2219c30cd1f033734ec1689a8a241b8 to your computer and use it in GitHub Desktop.
Deploy JmusicBot (Discord Music Bot) with Docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine:latest | |
RUN apk add --no-cache --update wget curl default-jre | |
WORKDIR / | |
RUN wget https://raw.githubusercontent.com/jagrosh/MusicBot/master/scripts/run_jmusicbot.sh | |
RUN cat <<EOT >> config.txt \ | |
token = TOKEN_BOT_HERE \ | |
owner = ID_OWNER \ | |
prefix = "*" \ | |
game = "Listening to music" \ | |
songinstatus=true \ | |
alonetimeuntilstop = 10 \ | |
aliases { \ | |
play = [ p ] \ | |
search = [ yt ] \ | |
nowplaying = [ np ] \ | |
queue = [ q ] \ | |
volume = [ vol ] \ | |
skip = [ next ] \ | |
} \ | |
EOT | |
RUN chmod +x /run_jmusicbot.sh | |
ENTRYPOINT ["/run_jmusicbot.sh"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment