SWE-Arena / Dockerfile
vumichien's picture
Update Dockerfile
af24577 verified
raw
history blame
650 Bytes
FROM ubuntu
# Update package list and install dependencies
RUN apt update && apt install -y git python3 python3-pip python3-venv
# Clone the repository
RUN git clone https://github.com/BigComputer-Project/SWE-Arena.git
# Set up a virtual environment and install dependencies
RUN python3 -m venv /venv && \
/venv/bin/pip install --upgrade pip && \
/venv/bin/pip install -e "SWE-Arena[model_worker,webui]"
# Set the virtual environment as default
ENV PATH="/venv/bin:$PATH"
# Run the application
CMD ["python", "-m", "fastchat.serve.gradio_web_server_multi", "--controller", "", "--register", "api_endpoints_serve.json", "--vision-arena"]