Closed TUBEOF closed 5 months ago
Nvm my bad, i just needed to create/download the run.py first... I would recommend adding this to the Docker install/usage section to avoid further mistakes like this.
Or maybe just include the latest example.py in the docker image :D
Or maybe just include the latest example.py in the docker image :D
It is already there.
README also has this info:
You just need to read it thoroughly. ;)
Describe the bug
Unable to run using Docker compose or run.
Steps to reproduce
Starting with "docker compose up" or "docker run"
Expected behavior
-
Operating system
Debian 12
Python version
3.12.1
Miner version
latest
Other relevant software versions
No response
Logs
Using docker compose:
root@tubeof:/var/lib/twitch-miner/official_tubeof# docker compose up [+] Running 1/0 ✔ Container twitch_miner-official_tubeof Recreated 0.0s Attaching to twitch_miner-official_tubeof twitch_miner-official_tubeof | /usr/local/bin/python: can't find '__main__' module in '/usr/src/app/run.py' twitch_miner-official_tubeof exited with code 0
Using docker run:
root@tubeof:/var/lib/twitch-miner/official_tubeof# docker run -v $(pwd)/analytics:/usr/src/app/analytics -v $(pwd)/cookies:/usr/src/app/cookies -v $(pwd)/logs:/usr/src/app/logs -v $(pwd)/run.py:/usr/src/app/run.py:ro -p 5000:5000 rdavidoff/twitch-channel-points-miner-v2 /usr/local/bin/python: can't find '__main__' module in '/usr/src/app/run.py'
Additional context
My compose file: https://gist.github.com/TUBEOF/9035859e360b66cf684fd04a04b42df4
Seems like the imagine is broken or something?