diff --git a/build-html.sh b/build-html.sh index eabbfce..50d163e 100755 --- a/build-html.sh +++ b/build-html.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Script to build an HTML site from the PDF source -docker run -d -P --name pdf2htmlex -v /pdf sothr/pdf2htmlex pdf2htmlex --embed cfijo --dest-dir out DPSResume.pdf +docker run -d -v $(pwd):/source sothr/pdf2htmlex pdf2htmlex --embed cfijo --dest-dir /source/out /source/DPSResume.pdf tar -czvf ResumeSite.tar.gz out/* diff --git a/build-pdf.sh b/build-pdf.sh index 54e655b..b58a665 100755 --- a/build-pdf.sh +++ b/build-pdf.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash # Script to build a PDF from the latex source -docker run -d -P --name latex -v /latex narf/latex latex --output-format pdf DPSResume.tex +docker run -v $(pwd):/source schickling/latex latex --output-format pdf /source/DPSResume.tex