revert dockerfile changes..

This commit is contained in:
yojoshb 2024-04-11 02:43:18 -05:00 committed by GitHub
parent 5aa24f8b59
commit d0a3d1f17e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,14 +1,17 @@
FROM bitnami/minideb:bullseye 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 -p /config/Playlists && mkdir /app \
&& 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 /config/ COPY run_bot.sh /app/run_bot.sh
RUN chmod +x /config/run_bot.sh RUN chmod 700 /app/run_bot.sh
WORKDIR /config WORKDIR /app
VOLUME /config VOLUME /config
CMD ["./run_bot.sh"] CMD ["./run_bot.sh"]