Generate pdfs through code files and raw github urls in one go
First build it by running
docker build --pull --rm -f "Dockerfile" -t code2pdf:latest "."
Then run the docker image by
docker run -v <hostPath>/code2pdf/pdfs:/pdfs/ code2pdf:latest --u https://raw.githubusercontent.com/TheNova22/tkArt/main/circleDesign.py --f hw.c "sol copy.py" --a "Jayant Sogikar" --f hw.c "sol copy.py" --n "dracula" --s dracula
We set up a volume where code files are stored and pdfs are saved.
ENTRYPOINT is used to accept args and kwargs.