Based on the python:3 container, this container adds the pyotp pip in order to run https://github.com/newhouseb/simpleotp
Mount your copy of that repo into /usr/src/myapp in the container and set working dir and command like this:
docker run -d -n pyotp -v /path/outside/container:/usr/src/myapp -w /usr/src/myapp sretalla/pythonpip python main.py
Content type
Image
Digest
Size
340.3 MB
Last updated
over 7 years ago
docker pull sretalla/pythonpip