impofix
This commit is contained in:
parent
bab62ae93c
commit
64bfa31100
|
@ -2,6 +2,5 @@ FROM python:3.11-slim
|
|||
WORKDIR /app
|
||||
COPY . /app
|
||||
COPY requirements.txt /app/
|
||||
RUN apt-get update && apt-get install -y git build-essential libffi-dev libssl-dev
|
||||
RUN pip install --trusted-host pypi.python.org -r /app/requirements.txt
|
||||
RUN pip install -r /app/requirements.txt
|
||||
CMD ["python", "bot/main.py"]
|
|
@ -6,9 +6,9 @@ from aiogram import Bot, Dispatcher, Router
|
|||
from aiogram.enums import ParseMode
|
||||
from aiogram.filters import CommandStart, Command
|
||||
from aiogram.types import Message, ChatJoinRequest, CallbackQuery
|
||||
from bot.config import BOT_TOKEN, ADMIN_ID
|
||||
from bot.handlers.routing import handle_routing
|
||||
from bot.state import State
|
||||
from .config import BOT_TOKEN, ADMIN_ID
|
||||
from .handlers.routing import handle_routing
|
||||
from .state import State
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
logging.basicConfig(level=logging.INFO)
|
||||
|
|
Loading…
Reference in New Issue
Block a user