Browse Source

Windows + new Version baangt

BernhardSurface 7 months ago
parent
commit
43dee433c7
2 changed files with 5 additions and 3 deletions
  1. 4 3
      Dockerfile
  2. 1 0
      makeWindows.bat

+ 4 - 3
Dockerfile

@@ -49,15 +49,16 @@ RUN touch /root/.vnc/passwd && \
 
 COPY start-vncserver.sh /root/
 COPY baangt.sh /root/
-COPY getdrivers.sh /root/
 RUN chmod a+x /root/start-vncserver.sh && \
     chmod a+x /root/baangt.sh && \
-    chmod a+x /root/getdrivers.sh && \
-    /root/getdrivers.sh && \
     echo "mycontainer" > /etc/hostname && \
     echo "127.0.0.1	localhost" > /etc/hosts && \
     echo "127.0.0.1	mycontainer" >> /etc/hosts
 
+WORKDIR /baangt
+RUN mkdir /baangt/browserDrivers
+RUN python3 baangt.py --reloadDrivers=True
+
 EXPOSE 5901
 ENV USER root
 CMD [ "/root/start-vncserver.sh" ]

+ 1 - 0
makeWindows.bat

@@ -0,0 +1 @@
+"C:\Program Files (x86)\GnuWin32\bin\make" build