Docker and installation issues

This commit is contained in:
root
2026-07-07 23:22:12 +02:00
parent 934e7a6240
commit 4ff0427b64
3 changed files with 15 additions and 13 deletions
+11 -11
View File
@@ -107,18 +107,18 @@ if platform in ("linux", "linux2"):
DIR_PATH_SADOX = "/mnt/c/Users/mtusz/OneDrive/Dokumenty/Fansadox" DIR_PATH_SADOX = "/mnt/c/Users/mtusz/OneDrive/Dokumenty/Fansadox"
else: else:
LOGFILE = "/home/pi/Conjurer/discord.log" LOGFILE = "./discord.log"
MEMORY_FIVE_SIARA = "/home/pi/Conjurer/pamiec.json" MEMORY_FIVE_SIARA = "./pamiec.json"
SYSTEM_GPT_SETTINGS = "/home/pi/Conjurer/system_gpt_settings.json" SYSTEM_GPT_SETTINGS = "./system_gpt_settings.json"
MEMORY_FIVE_MUZYKA = "/home/pi/Conjurer/pamiec_muzyki.json" MEMORY_FIVE_MUZYKA = "./pamiec_muzyki.json"
MUSIC_FOLDER = "/home/pi/MediaShare/mp3/" MUSIC_FOLDER = "./"
SETTINGS_FILE = "/home/pi/Conjurer/settings.json" SETTINGS_FILE = "./settings.json"
NETRC_FILE = "/home/pi/.netrc" NETRC_FILE = "/srv/conjurer/secrets/.netrc"
LOGSTORE = "/home/pi/MediaShara/logs/" LOGSTORE = "./logs/"
ACCIDENT_LOG = "/home/pi/Conjurer/accident_log.json" ACCIDENT_LOG = "./accident_log.json"
ENCODING = "utf-8" ENCODING = "utf-8"
GRAPHICS_PATH = "/home/pi/MediaShare/Conjurer_graphics/" GRAPHICS_PATH = "./Conjurer_graphics/"
DIR_PATH_SADOX = "/home/pi/MediaShare/Fansadox/" DIR_PATH_SADOX = "./Fansadox/"
elif platform == "win32": elif platform == "win32":
+4 -1
View File
@@ -1,7 +1,7 @@
# Conjurer main Discord bot. # Conjurer main Discord bot.
# Build from the repository root: # Build from the repository root:
# docker build -f docker/Dockerfile.bot -t conjurer-bot . # docker build -f docker/Dockerfile.bot -t conjurer-bot .
FROM python:3.11-slim FROM python:3.13-trixie
# System dependencies: # System dependencies:
# ffmpeg - audio download/convert (yt_dlp) and Discord voice # ffmpeg - audio download/convert (yt_dlp) and Discord voice
@@ -17,6 +17,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \ build-essential \
curl \ curl \
ca-certificates \ ca-certificates \
python3-dev \
build-essential \
portaudio19-dev \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
WORKDIR /app WORKDIR /app
-1
View File
@@ -17,6 +17,5 @@ PyMuPDF
waitress waitress
assemblyai[extras] assemblyai[extras]
SpeechRecognition SpeechRecognition
aiomcrcon
asyncssh asyncssh
git+https://github.com/imayhaveborkedit/discord-ext-voice-recv git+https://github.com/imayhaveborkedit/discord-ext-voice-recv