Add an executable
This commit is contained in:
parent
2f7e43b461
commit
bbc889bcac
2 changed files with 12 additions and 0 deletions
|
@ -5,3 +5,5 @@ RUN apt-get update --yes
|
||||||
RUN apt-get install --yes python3 python3-pip
|
RUN apt-get install --yes python3 python3-pip
|
||||||
COPY requirements.txt /app
|
COPY requirements.txt /app
|
||||||
RUN pip3 install -r requirements.txt
|
RUN pip3 install -r requirements.txt
|
||||||
|
COPY mirrortea /app
|
||||||
|
ENTRYPOINT ["/app/mirrortea"]
|
||||||
|
|
10
mirrortea
Executable file
10
mirrortea
Executable file
|
@ -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())
|
Loading…
Add table
Add a link
Reference in a new issue