forked from nus-apr/auto-code-rover
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
24 lines (18 loc) · 640 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# for building auto-code-rover:latest
FROM yuntongzhang/swe-bench:latest
RUN git config --global user.email [email protected]
RUN git config --global user.name acr
ENV DEBIAN_FRONTEND=noninteractive
RUN apt install -y vim build-essential libssl-dev
COPY . /opt/auto-code-rover
WORKDIR /opt/auto-code-rover/demo_vis/front
RUN sed -i 's/\r$//' /opt/auto-code-rover/demo_vis/run.sh
RUN apt install -y curl
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
RUN apt-get install nodejs -y
RUN npm i
RUN npm run build
WORKDIR /opt/auto-code-rover
RUN conda env create -f environment.yml
EXPOSE 3000 5000
ENTRYPOINT [ "/bin/bash" ]