Skip to content
Thomas Winters edited this page Jul 26, 2019 · 1 revision

slaps the hood of the container Yep this bad boy runs on Docker.

Building the Image

Build the image, and tag it as talkgen.

docker build -t talkgen .

Running the Image

Run the image tagged as talkgen. The container /output directory maps to your current working directory.

docker run --env-file .env -v ``pwd``/output:/output talkgen run.py --open_ppt false

Reasonable defaults have been provided. To override, simply pass the command-line parameter. Here we are overriding the the topic and number of slides.

docker run --env-file .env -v ``pwd``/output:/output talkgen run.py --topic 'climate change' --num_slides 12 --open_ppt false

  • be sure that open_ppt is false when running as a docker process.