Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerize Redditflow #2

Open
abhijithneilabraham opened this issue May 5, 2022 · 3 comments
Open

Dockerize Redditflow #2

abhijithneilabraham opened this issue May 5, 2022 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@abhijithneilabraham
Copy link
Member

Write dockerfile and update docker image to repository.

@abhijithneilabraham abhijithneilabraham added enhancement New feature or request good first issue Good for newcomers labels May 5, 2022
@abhijithneilabraham abhijithneilabraham self-assigned this May 5, 2022
@abhijithneilabraham abhijithneilabraham assigned ghost and unassigned abhijithneilabraham Jul 6, 2022
@abhijithneilabraham
Copy link
Member Author

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 .

@dhruvthakur2000
Copy link

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

@isri-ram
Copy link

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

isri-ram added a commit to isri-ram/redditflow that referenced this issue Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants