Update Dockerfile

This commit is contained in:
yojoshb 2024-04-11 01:42:08 -05:00 committed by GitHub
parent a39707a4ae
commit 472db9f8a9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,17 +1,14 @@
FROM bitnami/minideb:latest FROM bitnami/minideb:bullseye
RUN install_packages openjdk-11-jre-headless wget curl grep \ RUN install_packages openjdk-11-jre-headless wget curl grep \
&& mkdir /app \ && mkdir -p /config/Playlists
&& mkdir -p /config/Playlists \
&& ln -s /config/Playlists /app/Playlists \
&& ln -s /config/serversettings.json /app/serversettings.json
STOPSIGNAL SIGTERM STOPSIGNAL SIGTERM
COPY run_bot.sh /app/run_bot.sh COPY run_bot.sh /config/run_bot.sh
RUN chmod 700 /app/run_bot.sh RUN chmod +x /config/run_bot.sh
WORKDIR /app WORKDIR /config
VOLUME /config VOLUME /config
CMD ["./run_bot.sh"] CMD ["./run_bot.sh"]