Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
docker run -p 127.0.0.1:5674:5674 -v /path/to/language/pack:/model -e "JOSHUA_ARGS='-server-type http -server-port 5674'PORT=5674" joshua/kenlm

This mounts (-v) the language pack to /model in the docker image, binds the docker port 5674 to a bridged interface on the same port, and passes the arguments "-server-type http -server-port 5674" to Joshua.

...