Verified Commit 72af8876 authored by Mroik's avatar Mroik
Browse files

Added Dockerfile

parent 43557a01
FROM python:3.9.7-slim
RUN mkdir bits-tgbot
COPY . /bits-tgbot/
WORKDIR /bits-tgbot
RUN pip install -r requirements.txt
ENTRYPOINT ["python", ""]
......@@ -27,10 +27,10 @@ def on_message(client, userdata, msg):
if payload["status"] == OPEN:
for id_ in where_am_i:, "Il POuL è aperto!"), "🟢🟢 Il POuL è aperto! 🟢🟢")
elif payload["status"] == CLOSED:
for id_ in where_am_i:, "Il POuL è chiuso!"), "🔴🔴 Il POuL è chiuso! 🔴🔴")
def on_publish(client, userdata, mid):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment