FROM  debian:latest


RUN apt -y update
RUN install -d -m 0755 /etc/apt/keyrings
RUN apt -y install wget gpg dbus-x11
RUN apt -y update


###################################################
#          wine install steps
###################################################
RUN dpkg --add-architecture i386 
RUN apt -y update
RUN apt -y install       wine       wine64 libwine fonts-wine
COPY . .

###################################################
######## Graphic settings
###################################################
RUN  dbus-uuidgen > /etc/machine-id
RUN export DISPLAY=0:0

#run it
CMD /usr/bin/wine FirefoxPortable_132.0.2_English.paf.exe
