add app version output to version.txt

+ refactor main entry point
+ add debug logging in image extraction
This commit is contained in:
cwilvx
2025-06-18 14:38:43 +03:00
parent 58133de040
commit dd76b8c7f8
5 changed files with 17 additions and 10 deletions
+3
View File
@@ -35,4 +35,7 @@ RUN pip install bjoern
ARG app_version
ENV SWINGMUSIC_APP_VERSION=$app_version
# dump the app_version to the version.txt file
RUN echo $app_version > version.txt
ENTRYPOINT ["python", "run.py", "--host", "0.0.0.0", "--config", "/config"]