mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 13:47:19 +08:00
download playwright
This commit is contained in:
@@ -30,6 +30,32 @@ RUN export POETRY_CACHE_DIR && poetry install --without evaluation,llama-index -
|
||||
|
||||
FROM nikolaik/python-nodejs:python3.11-nodejs22 AS runtime
|
||||
|
||||
# install basic packages
|
||||
RUN apt-get update && apt-get install -y \
|
||||
curl \
|
||||
wget \
|
||||
git \
|
||||
vim \
|
||||
nano \
|
||||
unzip \
|
||||
zip \
|
||||
python3 \
|
||||
python3-pip \
|
||||
python3-venv \
|
||||
python3-dev \
|
||||
build-essential \
|
||||
openssh-server \
|
||||
sudo \
|
||||
gcc \
|
||||
jq \
|
||||
g++ \
|
||||
make \
|
||||
iproute2 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install Playwright via pip
|
||||
RUN python3 -m pip install playwright
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
ARG OPENHANDS_BUILD_VERSION #re-declare for this section
|
||||
|
||||
@@ -38,4 +38,6 @@ RUN rm -f Miniforge3.sh
|
||||
RUN /openhands/miniforge3/bin/pip install --upgrade pip
|
||||
RUN /openhands/miniforge3/bin/pip install jupyterlab notebook jupyter_kernel_gateway flake8
|
||||
RUN /openhands/miniforge3/bin/pip install python-docx PyPDF2 python-pptx pylatexenc openai
|
||||
RUN /openhands/miniforge3/bin/pip install python-dotenv toml termcolor pydantic python-docx pyyaml docker pexpect tenacity e2b browsergym minio
|
||||
RUN /openhands/miniforge3/bin/pip install python-dotenv toml \
|
||||
termcolor pydantic python-docx pyyaml \
|
||||
docker pexpect tenacity e2b browsergym minio
|
||||
|
||||
Reference in New Issue
Block a user