redditflow
redditflow copied to clipboard
Dockerize Redditflow
Write dockerfile and update docker image to repository.
Create a Dockerfile with the following simple requirements:
- Choose a suitable operating system
- Take environment variable from user to check whether Text API or Image API should be used.
- Pass the config from the user( Either as an environment variable or as a json file)
- Write a python script which takes in the config as input, and runs the Redditflow Image/Text api. Copy the python file to docker image.
- Copy all the output files created inside the image to local directory.
- Docker build.
- Docker run .
hi @abhijithneilabraham Can you please share what can be the default values for the configuration if passed through as environment variables?
Hi @abhijithneilabraham I'm using placeholders for you to modify it later in the dockerfile