Closed nitrocode closed 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.
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 thedocker-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 runmake
, it completes successfully. It seems likedocker-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?