download playwright

This commit is contained in:
tobitege
2024-09-10 04:15:13 +02:00
parent 516c75d784
commit a672036075
2 changed files with 29 additions and 1 deletions

View File

@@ -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

View File

@@ -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