Docker build environment for building latex docs
- Build the docker image
docker build -t dockerlatex . - Copy
.texfiles tolatex-code - Run the docker container with :
docker run --rm -v $(pwd)/latex-code:/data dockerlatex {TEX_FILE_NAME}.texThe compiled pdf files will be saved in latex-code/compile-output.