forked from json-schema-org/understanding-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
28 lines (24 loc) · 823 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
25
26
27
28
FROM fedora
# Install system dependencies
RUN dnf update -y
RUN dnf install -y make latexmk texlive pipenv python3.8
RUN dnf install -y 'tex(fncychap.sty)' \
'tex(tabulary.sty)' \
'tex(framed.sty)' \
'tex(wrapfig.sty)' \
'tex(upquote.sty)' \
'tex(capt-of.sty)' \
'tex(needspace.sty)' \
'tex(overlock.sty)' \
'tex(inconsolata.sty)' \
'tex(bbding.sty)' \
'tex(mdframed.sty)' \
'tex(bbding10.pfb)'
RUN texhash
RUN alternatives --install /usr/bin/python python /usr/bin/python3.8 1
COPY . /code
WORKDIR /code
# Install Python dependencies
RUN pipenv install --system
# Build website
ENTRYPOINT ["./entrypoint.sh"]