update to python 3.12

This commit is contained in:
2025-06-09 19:12:31 -05:00
parent 988fd2906c
commit 2ee59c6153
3 changed files with 12 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
services:
email-api:
container_name: email-api
image: python:3.9-slim
image: python:3.12-slim # Wechsel zu Python 3.12
restart: unless-stopped
ports:
- "5000:5000"
@@ -13,7 +13,7 @@ services:
environment:
- API_TOKEN=your-api-token # Muss mit Lambda übereinstimmen
command: >
bash -c "pip install flask smtplib && python app.py"
bash -c "pip install flask && python app.py"
networks:
mail_network:
external: true