Skip to content

Commit 2635ab1

Browse files
committed
Fixed to get the dockerfile working
Refs #2525 It failed because it wan't actually intended to contain the documents, but to compile them. It's been changed now to actually contain them, with the former one moved to `util`
1 parent d55dd68 commit 2635ab1

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.dockerignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
./*
21
.sass-cache/
32
.git/
43
.gitignore
54
.travis.yml
5+
writing-docs
6+
build
7+
.github
8+
.precomp
9+
.pod-cache
10+
xt

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ RUN buildDeps=' \
2828
&& n stable
2929

3030
WORKDIR /perl6/doc
31+
COPY . .
32+
RUN make test && make html
33+
3134
EXPOSE 3000
3235

33-
CMD make test && make html && ./app-start
36+
CMD ./app-start

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ init-highlights:
3030
ATOMDIR="./highlights/atom-language-perl6"; \
3131
if [ -d "$$ATOMDIR" ]; then (cd "$$ATOMDIR" && git pull); \
3232
else git clone https://github.com/perl6/atom-language-perl6 "$$ATOMDIR"; \
33-
fi; cd highlights; npm install .
33+
fi; cd highlights; npm install .; npm rebuild
3434

3535
html-nohighlight:
3636
perl6 htmlify.p6 --no-highlight --disambiguation=$(DISAMBIGUATE)

0 commit comments

Comments
 (0)