julius icon indicating copy to clipboard operation
julius copied to clipboard

Add a Dockerfile

Open peterwwillis opened this issue 3 years ago • 0 comments

Build the latest version of Julius in a Docker container with the following command:

$ docker build -t julius:latest .

Creates a 94MB Docker image:

$ docker image ls julius:latest
REPOSITORY   TAG       IMAGE ID       CREATED          SIZE
julius       latest    83aa126360a2   18 minutes ago   94MB

Use the Docker image in the downloaded English models folder (assuming you've edited dnn.jconf):

$ pwd
/home/peter/Downloads/julius/ENVR-v5.4.Dnn.Bin
$ docker run --rm -it -v `pwd`:/app -w /app julius:latest julius -C julius.jconf -dnnconf dnn.jconf

peterwwillis avatar Jan 08 '22 07:01 peterwwillis