-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
35 lines (30 loc) · 929 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
29
30
31
32
33
34
35
FROM jjmerelo/rakudo-nostar:latest
RUN buildDeps=' \
build-essential \
cpanminus \
' \
runtimeDeps=' \
graphviz \
make \
ruby-sass \
' \
testDeps=' \
aspell \
' \
\
&& set -x \
&& apt-get update \
&& apt-get --yes --no-install-recommends install $buildDeps $runtimeDeps $testDeps \
&& rm -rf /var/lib/apt/lists/* \
\
&& cpanm -vn Mojolicious \
&& n=/usr/local/bin/n \
&& curl -fsSL https://raw.githubusercontent.com/tj/n/master/bin/n > "$n" \
&& chmod +x "$n" \
&& n stable
WORKDIR /Raku/doc
COPY . .
RUN zef install zef && zef update && zef install --deps-only .
RUN make test && make html
EXPOSE 3000
CMD ["morbo", "-w", "assets/sass", "-w", "assets/js", "-w", "html/js/search.js", "-l", "http://0.0.0.0:3000", "app.pl"]