-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
52 lines (43 loc) · 1.22 KB
/
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
FROM ubuntu:jammy-20230916
RUN apt-get update
RUN apt-get install -y python3-pip
RUN apt-get install -y python-is-python3
RUN apt-get install -y openjdk-17-jdk openjdk-17-jre
RUN apt-get install -y nodejs npm
RUN apt-get install -y wget
RUN apt-get install -y nginx
RUN apt-get install -y unzip
RUN apt-get install -y sqlite3
RUN npm install -g n
RUN n 18.18.1
RUN npm install -g [email protected]
RUN mkdir /workspace
WORKDIR /workspace
COPY css ./css
COPY font ./font
COPY img ./img
COPY intermediate ./intermediate
COPY js ./js
COPY js_standalone ./js_standalone
COPY language ./language
COPY pt ./pt
COPY template ./template
COPY test ./test
COPY .eslintrc.yml ./.eslintrc.yml
COPY package.json ./package.json
COPY regions.json ./regions.json
COPY requirements.txt ./requirements.txt
COPY nginx.conf /etc/nginx/nginx.conf
COPY support ./support
RUN pip install -r requirements.txt
RUN bash support/render_index.sh
RUN bash support/setup_local.sh
RUN bash support/install_processing.sh
COPY README.md ./README.md
COPY image_gen ./image_gen
RUN bash support/load_fonts.sh
RUN bash support/render_line_graphs.sh
RUN bash support/render_butterfly.sh
RUN bash support/render_sankey.sh
RUN bash support/check_image_outputs.sh
RUN bash support/package.sh