20 lines
442 B
Docker
20 lines
442 B
Docker
FROM bitnami/minideb:bullseye
|
|
|
|
RUN install_packages openjdk-11-jre-headless wget curl grep \
|
|
&& mkdir /app \
|
|
&& mkdir -p /config/Playlists \
|
|
&& ln -s /config/Playlists /app/Playlists \
|
|
&& ln -s /config/serversettings.json /app/serversettings.json
|
|
|
|
STOPSIGNAL SIGTERM
|
|
|
|
ENV BOT_VERSION latest
|
|
ENV BOT_REPO jagrosh/MusicBot
|
|
|
|
COPY run_bot.sh /app/run_bot.sh
|
|
RUN chmod +x /app/run_bot.sh
|
|
|
|
WORKDIR /app
|
|
VOLUME /config
|
|
|
|
CMD ["./run_bot.sh"]
|