This commit is contained in:
Untone 2023-09-11 23:16:36 +03:00
parent 2a74c12ac5
commit 699aa6d28e
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
FROM python:3.11-slim
WORKDIR /app
COPY . /app
COPY requirements.txt /app/
RUN pip install -r /app/requirements.txt
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
CMD ["python", "bot/main.py"]

View File

@ -5,4 +5,4 @@ BOT_TOKEN = (
)
WEBHOOK = os.environ.get("VERCEL_URL") or "http://localhost:8000"
REDIS_URL = os.environ.get("REDIS_URL") or "redis://localhost:6379"
FEEDBACK_CHAT_ID = os.environ.get("FEEDBACK_CHAT_ID").replace("-", "-100")
FEEDBACK_CHAT_ID = os.environ.get("FEEDBACK_CHAT_ID", "").replace("-", "-100")