Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -34,6 +34,7 @@ RUN rm -f /etc/apt/sources.list.d/*.list && \
|
|
| 34 |
RUN git clone https://github.com/browser-use/web-ui.git /web-ui
|
| 35 |
WORKDIR /web-ui
|
| 36 |
|
|
|
|
| 37 |
# Create a non-root user and switch to it
|
| 38 |
RUN adduser --disabled-password --gecos '' --shell /bin/bash user \
|
| 39 |
&& chown -R user:user /web-ui
|
|
@@ -59,7 +60,7 @@ RUN conda create -y -n webui python=3.11 && \
|
|
| 59 |
echo "conda activate webui" >> ~/.bashrc
|
| 60 |
|
| 61 |
# Install dependencies into Conda env
|
| 62 |
-
RUN /home/user/miniconda/envs/webui/bin/pip install --no-cache-dir --upgrade pip uv==0.4.17 playwright && \
|
| 63 |
/home/user/miniconda/envs/webui/bin/pip install --no-cache-dir -r requirements.txt && \
|
| 64 |
/home/user/miniconda/envs/webui/bin/playwright install --with-deps chromium
|
| 65 |
|
|
|
|
| 34 |
RUN git clone https://github.com/browser-use/web-ui.git /web-ui
|
| 35 |
WORKDIR /web-ui
|
| 36 |
|
| 37 |
+
COPY webui_with_vnc.py /web-ui/webui_with_vnc.py
|
| 38 |
# Create a non-root user and switch to it
|
| 39 |
RUN adduser --disabled-password --gecos '' --shell /bin/bash user \
|
| 40 |
&& chown -R user:user /web-ui
|
|
|
|
| 60 |
echo "conda activate webui" >> ~/.bashrc
|
| 61 |
|
| 62 |
# Install dependencies into Conda env
|
| 63 |
+
RUN /home/user/miniconda/envs/webui/bin/pip install --no-cache-dir --upgrade pip uv==0.4.17 playwright gradio && \
|
| 64 |
/home/user/miniconda/envs/webui/bin/pip install --no-cache-dir -r requirements.txt && \
|
| 65 |
/home/user/miniconda/envs/webui/bin/playwright install --with-deps chromium
|
| 66 |
|