add env header

This commit is contained in:
Jonas Leder 2025-03-04 20:06:00 +01:00
commit 9681aac73c
2 changed files with 2 additions and 1 deletions

View file

@ -13,4 +13,4 @@ COPY app/ /app
WORKDIR /app
VOLUME /downloadTemp
ENTRYPOINT [ "/opt/venv/bin/python", "-u", "bot.py" ]
ENTRYPOINT [ "ash", "-c", "/opt/venv/bin/python -u bot.py | tee /var/log/djbot.log" ]

View file

@ -1,3 +1,4 @@
#!/usr/bin/env python3
print("welcome to DJ Bot, initialising files")
from heartBeatTask import *