This commit is contained in:
2023-09-07 09:41:28 +00:00
parent 81c504e293
commit 6bcee46b52
2 changed files with 4 additions and 2 deletions

View File

@@ -11,10 +11,12 @@ RUN \
apt install -y apt apt-utils && \ apt install -y apt apt-utils && \
apt upgrade -y && \ apt upgrade -y && \
apt install -y tini python3 python3-pip python3-venv python-is-python3 pipx nano curl wget && \ apt install -y tini python3 python3-pip python3-venv python-is-python3 pipx nano curl wget && \
apt autoremove --purge -y && apt clean -y && rm-rf /tmp/* && \ apt autoremove --purge -y && apt clean -y && rm -rf /tmp/* && \
pipx install plextraktsync && \ pipx install plextraktsync && \
chmod +x /software/*.sh chmod +x /software/*.sh
ENV PATH=$PATH:/root/.local/usr/bin
STOPSIGNAL SIGINT STOPSIGNAL SIGINT
ENTRYPOINT [ "tini", "--" ] ENTRYPOINT [ "tini", "--" ]
CMD ["bash", "/software/entrypoint.sh"] CMD ["bash", "/software/entrypoint.sh"]

View File

@@ -6,4 +6,4 @@ echo 'export HOMEFOLDER=/software' >> /root/.profile
source ~/.profile source ~/.profile
# dont shutdown # dont shutdown
while true; do /software/plextraktsync.sh; sleep 86400; done while true; do /software/plextraktsync.sh; sleep 1200; done