We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36bd5d5 commit 8f96fe8Copy full SHA for 8f96fe8
Dockerfile
@@ -1,10 +1,7 @@
1
FROM python:3.8
2
MAINTAINER PEI-i1
3
4
-RUN apt-get update && apt-get install -y git
5
-
6
-RUN git clone https://github.com/PEI-I1/Telegram-API-Endpoint.git
7
+COPY . ./Telegram-API-Endpoint
8
WORKDIR Telegram-API-Endpoint
9
10
RUN pip install -r requirements.txt
bot.py
@@ -41,7 +41,7 @@ def send_message_to_chat_processor(req):
41
if 'last_name' in message['message']['chat']:
42
data['name'] += " " + message['message']['chat']['last_name']
43
44
- data['location'] = None
+ data['location'] = None
45
46
#Avisa chat_processor que chegou uma nova msg
47
res = requests.post(CHAT_PROCESSOR_URL + "/getResponse", json=data)
0 commit comments