revert dockerfile changes..
This commit is contained in:
parent
5aa24f8b59
commit
d0a3d1f17e
1 changed files with 7 additions and 4 deletions
11
Dockerfile
11
Dockerfile
|
|
@ -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"]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue