EXE compile

This commit is contained in:
Venrey 2024-07-17 03:43:43 +00:00
parent 39e3085586
commit c32fd865ba
3 changed files with 21 additions and 9 deletions

View file

@ -0,0 +1,10 @@
FROM ubuntu:latest
RUN apt-get update && apt-get install wine -y
RUN apt-get install wget -y
RUN dpkg --add-architecture i386 && apt-get update && apt-get install wine32:i386 -y
RUN wget https://www.python.org/ftp/python/3.12.2/python-3.12.2-amd64.exe
RUN apt-get install xorg xvfb xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic -y
RUN xvfb-run wine python-3.12.2-amd64.exe /quiet /i InstallAllUsers=1
RUN cd ~/.wine/drive_c/Program\ Files/Python312 && wine python.exe Scripts/pip.exe install pyinstaller
RUN apt-get install git -y