weso / wdsub

Wikidata Subsetting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dockerize the tool

labra opened this issue · comments

Dockerize the tool so it can be run from docker in a server

Using sbt-native-packages, it is possible to create an image and publish it locally using:

sbt docker:publishLocal

In order to run with some dump file which can be in a given folder:

docker run -v [path-to-folder]:/data wdsubroot:0.0.1 dump -f /data/[dumpFileName.json.gz]

We have been able to publish the tool in docker hub using

sbt docker:publish

I would like that this publication process was automatic.