mszep / pandoc_resume

The Markdown Resume
http://mszep.github.io/pandoc_resume/
MIT License
1.65k stars 758 forks source link

docker container does not convert all markdown #54

Closed nitrocode closed 5 years ago

nitrocode commented 5 years ago

Expected Behavior

All markdown in directory is converted using docker-compose

Actual Behavior

Only select ones are converted to pdf instead of all markdown files.

Steps to reproduce the behavior

I cannot figure out why because if I run make locally, it converts all of them, but if I run the docker-compose up -d command, it will only convert it partially. I have 5 markdown files and only one of them is converted to a pdf.

If I go into the container docker run -it resume-make bash and then run make, it completes successfully. It seems like docker-compose is killing the container too early but I cannot figure out how to make it stay open until the command is finished. Any suggestions?

nitrocode commented 5 years ago

Nevermind. It wasn't ending too early, it was still running. docker-compose up -d runs the container daemonized and I didn't realize that until I omitted the -d and it printed out all the output. In case anyone else hits the same issue, all you have to be is patient.