Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -13,7 +13,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
| 13 |
RUN git clone https://github.com/browser-use/web-ui.git /web-ui
|
| 14 |
WORKDIR /web-ui
|
| 15 |
|
| 16 |
-
RUN
|
| 17 |
|
| 18 |
# Create venv in /opt (exec mount)
|
| 19 |
RUN uv venv /opt/venv --python 3.11
|
|
@@ -23,8 +23,8 @@ RUN chmod -R a+rx /opt/venv && chmod -R a+r /opt/venv
|
|
| 23 |
|
| 24 |
# Install deps in /opt/venv
|
| 25 |
RUN /opt/venv/bin/python -m ensurepip --upgrade && \
|
| 26 |
-
/opt/venv/bin/
|
| 27 |
-
/opt/venv/bin/
|
| 28 |
/opt/venv/bin/playwright install --with-deps chromium
|
| 29 |
|
| 30 |
EXPOSE 7860
|
|
|
|
| 13 |
RUN git clone https://github.com/browser-use/web-ui.git /web-ui
|
| 14 |
WORKDIR /web-ui
|
| 15 |
|
| 16 |
+
RUN pip3 install uv
|
| 17 |
|
| 18 |
# Create venv in /opt (exec mount)
|
| 19 |
RUN uv venv /opt/venv --python 3.11
|
|
|
|
| 23 |
|
| 24 |
# Install deps in /opt/venv
|
| 25 |
RUN /opt/venv/bin/python -m ensurepip --upgrade && \
|
| 26 |
+
/opt/venv/bin/pip3 install --upgrade pip uv playwright && \
|
| 27 |
+
/opt/venv/bin/pip3 install -r requirements.txt && \
|
| 28 |
/opt/venv/bin/playwright install --with-deps chromium
|
| 29 |
|
| 30 |
EXPOSE 7860
|