-
Notifications
You must be signed in to change notification settings - Fork 9
Docker
Thomas Winters edited this page Jul 26, 2019
·
1 revision
slaps the hood of the container Yep this bad boy runs on Docker.
Build the image, and tag it as talkgen.
docker build -t talkgen .
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.