mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
Docker and installation issues
This commit is contained in:
+11
-11
@@ -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":
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user