jmusicbot-docker/Dockerfile

19 lines
412 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
COPY run_bot.sh /app/run_bot.sh
RUN chmod +x /app/run_bot.sh
WORKDIR /app
VOLUME /config
CMD ["./run_bot.sh"]