redditflow icon indicating copy to clipboard operation
redditflow copied to clipboard

Dockerize Redditflow

Open abhijithneilabraham opened this issue 3 years ago • 3 comments

Write dockerfile and update docker image to repository.

abhijithneilabraham avatar May 05 '22 04:05 abhijithneilabraham

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 .

abhijithneilabraham avatar Jul 06 '22 04:07 abhijithneilabraham

hi @abhijithneilabraham Can you please share what can be the default values for the configuration if passed through as environment variables?

dhruvthakur2000 avatar Oct 03 '23 07:10 dhruvthakur2000

Hi @abhijithneilabraham I'm using placeholders for you to modify it later in the dockerfile

isri-ram avatar Oct 14 '23 11:10 isri-ram