FROM ad5001/ubuntu-pyside2-xvfb-wine:win7-5.15.0 RUN apt-get update RUN apt install unzip nsis -y RUN apt clean # Installing tor RUN wget https://dist.torproject.org/torbrowser/9.5.4/tor-win64-0.4.3.6.zip \ && ls -la \ && unzip tor-win64-0.4.3.6.zip -x Data/* \ && rm tor-win64-0.4.3.6.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 pyside2 packaging websocket-client pywin32 stem requests