FROM ad5001/ubuntu-pyside2-xvfb-wine:win7-5.15.2 RUN apt-get update RUN apt install unzip nsis curl -y RUN apt clean # Installing tor RUN wget https://dist.torproject.org/torbrowser/10.0.18/tor-win64-0.4.5.9.zip \ && ls -la \ && unzip tor-win64-0.4.5.9.zip -x Data/* \ && rm tor-win64-0.4.5.9.zip \ && mv Tor /wine/drive_c/ RUN wine reg ADD "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment" /v PATH /f /t REG_EXPAND_SZ /d "C:\windows\system32;C:\windows;C:\windows\system32\wbem;C:\Tor" # Installing dependencies RUN pip install packaging websocket-client pywin32 stem requests