From bf1f186f73fbcf29e5ac6f74a4f4b4fe1efa7208 Mon Sep 17 00:00:00 2001 From: = <=> Date: Fri, 19 Sep 2025 23:54:22 +0200 Subject: [PATCH] clean requirements --- Dockerfile | 30 ++++++------------- requirements.txt | 77 ++++-------------------------------------------- 2 files changed, 14 insertions(+), 93 deletions(-) diff --git a/Dockerfile b/Dockerfile index af2eab4..fb65334 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,31 +1,19 @@ -# --- Base Image --- FROM python:3.11-slim -# --- System dependencies --- -RUN apt-get update && apt-get install -y \ - ffmpeg \ - python3-dev \ - libffi-dev \ - libnacl-dev \ - build-essential \ - pkg-config \ - libvirt-dev \ - && rm -rf /var/lib/apt/lists/* +# System packages für ffmpeg + Voice + +RUN apt-get update && apt-get install -y \ + ffmpeg python3-dev libffi-dev libnacl-dev build-essential pkg-config libcairo2-dev libgirepository1.0-dev gir1.2-gtk-3.0 \ + && rm -rf /var/lib/apt/lists/* + -# --- Set work directory --- WORKDIR /app -# --- Copy requirements --- +# Installiere Python requirements COPY requirements.txt . - -# --- Install python dependencies --- RUN pip install --no-cache-dir -r requirements.txt -# --- Copy bot code --- +# Kopiere den Bot-Code COPY . . -# --- Set environment variables --- -ENV PYTHONUNBUFFERED=1 - -# --- Start bot --- -CMD ["python", "bot.py"] \ No newline at end of file +CMD ["python", "skullbot.py"] \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index e77a3ef..8ec3460 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,72 +1,5 @@ -annotated-types==0.7.0 -ansible==11.7.0 -ansible-core==2.18.6 -anyio==3.6.2 -apache-libcloud==3.4.1 -argcomplete==2.0.0 -attrs==25.3.0 -Babel==2.10.3 -certifi==2022.9.24 -chardet==5.1.0 -charset-normalizer==3.0.1 -click==8.1.3 -cloudflare==4.3.1 -colorama==0.4.6 -cryptography==38.0.4 -distro==1.9.0 -dnspython==2.3.0 -docopt==0.6.2 -fysom==2.1.6 -h11==0.14.0 -h2==4.1.0 -hpack==4.0.0 -httpcore==0.16.3 -httplib2==0.20.4 -httpx==0.23.3 -hyperframe==6.0.0 -idna==3.3 -Jinja2==3.1.2 -jmespath==1.0.1 -JSON-minify==0.3.0 -jsonschema==4.24.0 -jsonschema-specifications==2025.4.1 -libvirt-python==9.0.0 -lockfile==0.12.2 -markdown-it-py==2.1.0 -MarkupSafe==2.1.2 -mdurl==0.1.2 -netaddr==0.8.0 -ntlm-auth==1.4.0 -packaging==23.0 -passlib==1.7.4 -pycairo==1.20.1 -pydantic==2.11.7 -pydantic_core==2.33.2 -Pygments==2.14.0 -PyGObject==3.42.2 -pykerberos==1.1.14 -pyparsing==3.0.9 -python-apt==2.6.0 -python-dateutil==2.9.0.post0 -python-dotenv==1.1.1 -pytz==2022.7.1 -pywinrm==0.3.0 -PyYAML==6.0 -referencing==0.36.2 -requests==2.28.1 -requests-kerberos==0.12.0 -requests-ntlm==1.1.0 -requests-toolbelt==0.10.1 -resolvelib==0.9.0 -rfc3986==1.5.0 -rich==13.3.1 -rpds-py==0.25.1 -selinux==3.4 -simplejson==3.18.3 -six==1.16.0 -sniffio==1.2.0 -termcolor==3.1.0 -typing-inspection==0.4.1 -typing_extensions==4.14.0 -urllib3==1.26.12 -xmltodict==0.13.0 +discord.py==2.4.0 +python-telegram-bot==20.8 +yt-dlp==2024.08.06 +python-dotenv==1.0.1 +PyNaCl==1.5.0 \ No newline at end of file