diff --git a/Dockerfile b/Dockerfile index 0128ce2..662b6ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,3 +5,5 @@ RUN apt-get update --yes RUN apt-get install --yes python3 python3-pip COPY requirements.txt /app RUN pip3 install -r requirements.txt +COPY mirrortea /app +ENTRYPOINT ["/app/mirrortea"] diff --git a/mirrortea b/mirrortea new file mode 100755 index 0000000..9c2fe2d --- /dev/null +++ b/mirrortea @@ -0,0 +1,10 @@ +#!/usr/bin/env python3 + +import asyncio +from nio import AsyncClient + +async def main(): + print(123) + +if __name__ == '__main__': + asyncio.get_event_loop().run_until_complete(main())