Skip to content

Commit f8c8b9f

Browse files
author
transformap
committed
Dockerfile : Blazegraph runs and exposes 8000 to the internal Docker networking
1 parent 0c31201 commit f8c8b9f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,14 @@ ENV WQS_VERSION=0.2.2
66

77
WORKDIR /root
88
RUN wget -O wikidata-query-rdf.tgz https://github.com/wikimedia/wikidata-query-rdf/archive/$WQS_VERSION.tar.gz; mkdir -p wikidata-query-rdf; tar xfz wikidata-query-rdf.tgz --strip-components=1 -C wikidata-query-rdf
9+
910
WORKDIR /root/wikidata-query-rdf
1011
RUN mvn package
12+
13+
WORKDIR /root/wikidata-query-rdf/dist/target
14+
RUN unzip service-$WQS_VERSION-dist.zip; mv service-$WQS_VERSION service
15+
16+
ENTRYPOINT ["/root/wikidata-query-rdf/dist/target/service/runBlazegraph.sh"]
17+
CMD ["-h", "0.0.0.0", "-p", "8000"]
18+
19+
EXPOSE 8000

0 commit comments

Comments
 (0)