Use '.python-version' for builds

This commit is contained in:
2025-08-17 12:16:55 +01:00
parent 594f4ba8ef
commit 1e28526be7
4 changed files with 11 additions and 5 deletions

View File

@@ -14,7 +14,7 @@ tasks:
docker:build:
desc: Build the container using Docker
cmds:
- docker build . -t smsbot:latest
- docker build . --build-arg PYTHON_VERSION=$(cat .python-version) -t smsbot:latest
smsbot:run:
desc: Run the SMSBot