binary1ne commited on
Commit
468705f
·
verified ·
1 Parent(s): 670f71d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -91,7 +91,8 @@ USER user
91
  # All users can use /home/user as their home directory
92
  ENV HOME=/home/user
93
  RUN mkdir $HOME/.cache $HOME/.config \
94
- && chmod -R 777 $HOME
 
95
 
96
  # Set up the Conda environment
97
  ENV CONDA_AUTO_UPDATE_CONDA=false \
@@ -128,7 +129,7 @@ RUN chmod -R 755 /web-ui && \
128
  COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
129
 
130
  # Install dependencies into Conda env
131
- RUN /home/user/miniconda/envs/webui/bin/pip install --no-cache-dir --upgrade pip uv==0.4.17 playwright gradio && \
132
  /home/user/miniconda/envs/webui/bin/pip install --no-cache-dir -r requirements.txt && \
133
  /home/user/miniconda/envs/webui/bin/playwright install --with-deps chromium
134
 
 
91
  # All users can use /home/user as their home directory
92
  ENV HOME=/home/user
93
  RUN mkdir $HOME/.cache $HOME/.config \
94
+ && touch ~/.vnc/x11vnc.log \
95
+ && chmod -R 777 $HOME
96
 
97
  # Set up the Conda environment
98
  ENV CONDA_AUTO_UPDATE_CONDA=false \
 
129
  COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
130
 
131
  # Install dependencies into Conda env
132
+ RUN /home/user/miniconda/envs/webui/bin/pip install --no-cache-dir --upgrade pip uv==0.4.17 playwright gradio python-dotenv && \
133
  /home/user/miniconda/envs/webui/bin/pip install --no-cache-dir -r requirements.txt && \
134
  /home/user/miniconda/envs/webui/bin/playwright install --with-deps chromium
135