File size: 650 Bytes
ca56dea
 
af24577
 
33d3ace
af24577
ca56dea
33d3ace
af24577
 
 
 
33d3ace
af24577
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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"]