-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
30 lines (25 loc) · 819 Bytes
/
Dockerfile
File metadata and controls
30 lines (25 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM ubuntu:22.04
RUN apt-get update && apt-get install -y \
build-essential \
cmake \
curl \
git \
default-jdk \
libboost-all-dev \
maven \
python3 \
python3-pip \
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
RUN source "$HOME/.cargo/env"
RUN rustup update
RUN pip3 install setuptools flask
COPY .git/ /root/devstone_comparative/.git/
COPY devstone/ /root/devstone_comparative/devstone/
COPY simulators/ /root/devstone_comparative/simulators/
COPY web_service/ /root/devstone_comparative/web_service/
COPY events_devstone.txt clean.sh setup.sh devstone_comparative.py .gitmodules /root/devstone_comparative/
WORKDIR /root/devstone_comparative
RUN ./clean.sh
RUN ./setup.sh
RUN python3 web_service/manage.py -i -a test
ENTRYPOINT python3 web_service/web_service.py