chore: set working directory in Dockerfile, add newline to config warning

This commit is contained in:
Piotr Dec 2025-12-02 23:52:15 +01:00
parent 9afd133066
commit 7a2249cb1c
Signed by: stawros
GPG key ID: 74B18A3F0F1E99C0
2 changed files with 3 additions and 1 deletions

View file

@ -26,6 +26,8 @@ ENV PYTHONPATH="/app"
EXPOSE 8081
WORKDIR /app
ENTRYPOINT ["app/.venv/bin/python"]
CMD ["/app/app/main.py"]

View file

@ -45,7 +45,7 @@ class Settings(BaseSettings):
data = yaml.safe_load(fh) or {}
else:
import sys
sys.stderr.write(f"Warning: Config file {p} not found.")
sys.stderr.write(f"Warning: Config file {p} not found.\n")
return cls(**data)