fix: dodanie brakującego importu Optional w bot.py oraz wyłączenie buforowania logów w Dockerze

This commit is contained in:
mmacierzanka committed 2026-07-04 15:57:20 +02:00
1 parent f2d19bd708
commit ebee5ac9d3
3 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -21,4 +21,4 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# Command to run the bot
CMD ["python", "main.py"]
CMD ["python", "-u", "main.py"]
+1
View File
@@ -3,6 +3,7 @@ from discord import app_commands
from discord.ext import commands
import asyncio
import os
from typing import Optional
from dotenv import load_dotenv
from ytdl import YTDLSource
+1
View File
@@ -8,6 +8,7 @@ services:
- "80:8000"
environment:
- DISCORD_TOKEN=${DISCORD_TOKEN}
- PYTHONUNBUFFERED=1
volumes:
- ./config:/app/config
- ./uploads:/app/uploads