binary1ne commited on
Commit
f839d58
·
verified ·
1 Parent(s): 2c87650

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -9
Dockerfile CHANGED
@@ -35,12 +35,17 @@ RUN rm -f /etc/apt/sources.list.d/*.list && \
35
  xvfb \
36
  && rm -rf /var/lib/apt/lists/*
37
 
38
- # Proper noVNC setup
39
  RUN mkdir -p /opt/novnc && \
40
  ln -s /usr/share/novnc/* /opt/novnc/ && \
41
  ln -s /usr/share/novnc/utils /opt/novnc/utils &&\
42
  mkdir -p /var/log/x11vnc && \
43
- touch /var/log/x11vnc.log
 
 
 
 
 
44
 
45
  # Clone repository
46
  RUN git clone https://github.com/browser-use/web-ui.git
@@ -83,14 +88,9 @@ RUN conda create -y -n webui python=3.11 && \
83
  echo "conda activate webui" >> ~/.bashrc
84
 
85
 
86
- # Proper noVNC setup (fixed)
87
- RUN chmod -R 755 /opt/novnc && \
88
- chmod +x /opt/novnc/utils/*
89
-
90
  # Fix permissions for X11 and logs (fixed)
91
- RUN chown user:user /var/log/x11vnc /var/log/x11vnc.log || true && \
92
- chmod 755 /var/log/x11vnc && \
93
- chmod 644 /var/log/x11vnc.log
94
 
95
 
96
  # Set up supervisor and permissions
 
35
  xvfb \
36
  && rm -rf /var/lib/apt/lists/*
37
 
38
+ # Proper noVNC setup X11 and logs (fixed)
39
  RUN mkdir -p /opt/novnc && \
40
  ln -s /usr/share/novnc/* /opt/novnc/ && \
41
  ln -s /usr/share/novnc/utils /opt/novnc/utils &&\
42
  mkdir -p /var/log/x11vnc && \
43
+ touch /var/log/x11vnc.log && \
44
+ chmod 755 /var/log/x11vnc && \
45
+ chmod 644 /var/log/x11vnc.log && \
46
+ chmod -R 755 /opt/novnc && \
47
+ chmod +x /opt/novnc/utils/*
48
+
49
 
50
  # Clone repository
51
  RUN git clone https://github.com/browser-use/web-ui.git
 
88
  echo "conda activate webui" >> ~/.bashrc
89
 
90
 
 
 
 
 
91
  # Fix permissions for X11 and logs (fixed)
92
+ RUN chown user:user /var/log/x11vnc /var/log/x11vnc.log || true
93
+
 
94
 
95
 
96
  # Set up supervisor and permissions