binary1ne commited on
Commit
d13c5dd
·
verified ·
1 Parent(s): e951629

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +11 -0
Dockerfile CHANGED
@@ -79,6 +79,17 @@ RUN curl -sLo ~/miniconda.sh https://repo.continuum.io/miniconda/Miniconda3-py39
79
  RUN conda create -y -n webui python=3.11 && \
80
  echo "conda activate webui" >> ~/.bashrc
81
 
 
 
 
 
 
 
 
 
 
 
 
82
  # Set up supervisor and permissions
83
  RUN mkdir -p /etc/supervisor/conf.d && \
84
  mkdir -p /var/log/supervisor && \
 
79
  RUN conda create -y -n webui python=3.11 && \
80
  echo "conda activate webui" >> ~/.bashrc
81
 
82
+ # Proper noVNC setup
83
+ RUN mkdir -p /opt/novnc && \
84
+ ln -s /usr/share/novnc/* /opt/novnc/ && \
85
+ ln -s /usr/share/novnc/utils /opt/novnc/utils
86
+
87
+ # Fix permissions for X11 and logs
88
+ RUN mkdir -p /var/log/x11vnc && \
89
+ touch /var/log/x11vnc.log && \
90
+ chown -R user:user /var/log/x11vnc* && \
91
+ chmod -R 755 /var/log/x11vnc*
92
+
93
  # Set up supervisor and permissions
94
  RUN mkdir -p /etc/supervisor/conf.d && \
95
  mkdir -p /var/log/supervisor && \