bigcomputer/SWE-Arena
6
1FROM ubuntu2 3# Update package list and install dependencies4RUN apt update && apt install -y git python3 python3-pip python3-venv5 6# Clone the repository7RUN git clone https://github.com/BigComputer-Project/SWE-Arena.git8 9# Set up a virtual environment and install dependencies10RUN python3 -m venv /venv && \11 /venv/bin/pip install --upgrade pip && \12 /venv/bin/pip install -e "SWE-Arena[model_worker,webui]"13 14# Set the virtual environment as default15ENV PATH="/venv/bin:$PATH"16 17# Create a writable logs directory18RUN mkdir -p /SWE-Arena/logs && chmod -R 777 /SWE-Arena/logs19 20# Set the working directory21WORKDIR /SWE-Arena22 23# Run the application24CMD ["python", "-m", "fastchat.serve.gradio_web_server_multi", "--controller", "", "--register", "api_endpoints_serve.json", "--vision-arena"]25 