Pin versions and use uv for speed.

Signed-off-by: Abdulkadir Furkan Şanlı <me@abdulocra.cy>
This commit is contained in:
Abdulkadir Furkan Şanlı
2026-04-19 19:37:26 +02:00
parent 9c1f18fbee
commit 3abc37bb3c
2 changed files with 8 additions and 5 deletions
+6 -3
View File
@@ -1,12 +1,15 @@
FROM python:3
FROM python:3.14
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
ENV PYTHONUNBUFFERED=1
WORKDIR /usr/src/app
COPY main.py parker.gif requirements.txt ./
COPY requirements.txt ./
RUN uv pip install --system --no-cache -r requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
COPY main.py parker.gif ./
USER 1000:1000
+2 -2
View File
@@ -1,3 +1,3 @@
matrix-nio == 0.24.0
google-auth-oauthlib
google-api-python-client
google-auth-oauthlib == 1.3.1
google-api-python-client == 2.194.0