weso / wdsub

Wikidata Subsetting
MIT License
15 stars 5 forks source link

Dockerize the tool #3

Closed labra closed 3 years ago

labra commented 3 years ago

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

labra commented 3 years ago

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]
labra commented 3 years ago

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

sbt docker:publish

I would like that this publication process was automatic.