diff --git a/Dockerfile b/Dockerfile index 055ad6d04..b6e32a95b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10-alpine as pybuilder +FROM python:3.11-alpine as pybuilder RUN apk update && apk add --no-cache tzdata ca-certificates alpine-sdk libressl-dev libffi-dev cargo && \ apk add tiff-dev jpeg-dev openjpeg-dev zlib-dev freetype-dev lcms2-dev \ libwebp-dev tcl-dev tk-dev harfbuzz-dev fribidi-dev libimagequant-dev libxcb-dev libpng-dev @@ -7,7 +7,7 @@ COPY requirements.txt /requirements.txt RUN pip3 install --user -r /requirements.txt && rm /requirements.txt -FROM python:3.10-alpine as runner +FROM python:3.11-alpine as runner RUN apk update && apk add --no-cache libressl jpeg-dev openjpeg-dev libimagequant-dev tiff-dev freetype-dev libxcb-dev diff --git a/requirements.txt b/requirements.txt index f08aa417c..6c7549e65 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,14 +1,14 @@ requests==2.31.0 -pytelegrambotapi==4.13.0 +pytelegrambotapi==4.14.0 beautifulsoup4==4.12.2 tgbot-ping==1.0.7 -redis==5.0.0 +redis==5.0.1 apscheduler==3.10.4 pymongo==4.5.0 tornado==6.3.3 captcha==0.5.0 passlib==1.7.4 -fakeredis==2.18.0 +fakeredis==2.19.0 filetype==1.2.0 requests[socks] tqdm==4.66.1 @@ -19,5 +19,5 @@ openpyxl==3.1.2 zhconv==1.4.3 jinja2==3.1.2 coloredlogs==15.0.1 -meilisearch==0.28.2 -pillow==9.5.0 +meilisearch==0.28.3 +pillow==10.0.1 diff --git a/yyetsweb/common/utils.py b/yyetsweb/common/utils.py index 357620e69..f69ffdb8a 100644 --- a/yyetsweb/common/utils.py +++ b/yyetsweb/common/utils.py @@ -72,7 +72,7 @@ def send_mail(to: str, subject: str, context: dict): password = os.getenv("email_password") host = os.getenv("email_host", "localhost") port = os.getenv("email_port", "1025") # mailhog - from_addr = os.getenv("from_addr", "yyets@dmesg.app") + from_addr = os.getenv("from_addr", "hello@yyets.click") msg = MIMEText(generate_body(context), "html", "utf-8") msg["From"] = _format_addr("YYeTs <%s>" % from_addr)