binary1ne commited on
Commit
8785b16
·
verified ·
1 Parent(s): c154065

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -77,6 +77,9 @@ RUN mkdir -p /etc/supervisor/conf.d
77
  # Copy your custom supervisor config
78
  COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
79
 
 
 
 
80
  # Create a non-root user and switch to it
81
  RUN adduser --disabled-password --gecos '' --shell /bin/bash user \
82
  && chown -R user:user /web-ui
@@ -118,9 +121,6 @@ RUN chmod -R 755 /web-ui && \
118
  chown -R user:user /var/log/supervisor || true
119
 
120
 
121
- # Copy supervisor config
122
- COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
123
-
124
  # Install dependencies into Conda env
125
  RUN /home/user/miniconda/envs/webui/bin/pip install --no-cache-dir --upgrade pip uv==0.4.17 playwright gradio python-dotenv && \
126
  /home/user/miniconda/envs/webui/bin/pip install --no-cache-dir -r requirements.txt && \
 
77
  # Copy your custom supervisor config
78
  COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
79
 
80
+ COPY /web-ui/src/utils/config.py /web-ui/src/utils/config_1.py
81
+ COPY config.py /web-ui/src/utils/config.py
82
+
83
  # Create a non-root user and switch to it
84
  RUN adduser --disabled-password --gecos '' --shell /bin/bash user \
85
  && chown -R user:user /web-ui
 
121
  chown -R user:user /var/log/supervisor || true
122
 
123
 
 
 
 
124
  # Install dependencies into Conda env
125
  RUN /home/user/miniconda/envs/webui/bin/pip install --no-cache-dir --upgrade pip uv==0.4.17 playwright gradio python-dotenv && \
126
  /home/user/miniconda/envs/webui/bin/pip install --no-cache-dir -r requirements.txt && \