Add deps and enable cache dir.

Signed-off-by: Abdulkadir Furkan Şanlı <me@afk.pm>
This commit is contained in:
afk
2026-07-19 15:30:10 +02:00
parent b946f649e0
commit 5c990752fb
2 changed files with 5 additions and 1 deletions
+4 -1
View File
@@ -7,7 +7,7 @@ ENV PYTHONUNBUFFERED=1
WORKDIR /usr/src/app
RUN apt-get update && \
apt-get install -y --no-install-recommends curl ffmpeg && \
apt-get install -y --no-install-recommends curl ffmpeg quickjs && \
rm -rf /var/lib/apt/lists/*
COPY requirements.txt ./
@@ -15,6 +15,9 @@ RUN uv pip install --system --no-cache -r requirements.txt
COPY main.py parker.gif ./
RUN mkdir -p /usr/src/app/.cache && \
chown -R 1000:1000 /usr/src/app/.cache
USER 1000:1000
CMD ["python", "./main.py"]
+1
View File
@@ -2,3 +2,4 @@ matrix-nio == 0.24.0
google-auth-oauthlib == 1.3.1
google-api-python-client == 2.194.0
yt-dlp
mutagen