Deploy remaining bots and fix schema validation (#927)

This commit is contained in:
Sidharth Mohanty
2023-11-10 00:14:47 +05:30
committed by GitHub
parent 0d568c758b
commit 14712cac88
13 changed files with 110 additions and 26 deletions

View File

@@ -0,0 +1,2 @@
TELEGRAM_BOT_TOKEN=
OPENAI_API_KEY=

View File

@@ -0,0 +1,11 @@
FROM python:3.11-slim
WORKDIR /usr/src/
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
EXPOSE 8000
CMD ["python", "telegram_bot.py"]

View File

@@ -63,4 +63,4 @@ def send_message(chat_id, text):
if __name__ == "__main__":
app.run(host="0.0.0.0", port=5000, debug=False)
app.run(host="0.0.0.0", port=8000, debug=False)

View File

@@ -1,2 +0,0 @@
TELEGRAM_BOT_TOKEN=""
OPENAI_API_KEY=""

View File

@@ -0,0 +1 @@
OPENAI_API_KEY=

View File

@@ -0,0 +1,11 @@
FROM python:3.11-slim
WORKDIR /usr/src/
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
EXPOSE 8000
CMD ["python", "whatsapp_bot.py"]

View File

@@ -1 +0,0 @@
OPENAI_API_KEY=""

View File

@@ -48,4 +48,4 @@ def query(message):
if __name__ == "__main__":
app.run(host="0.0.0.0", port=5000, debug=False)
app.run(host="0.0.0.0", port=8000, debug=False)