Sign inSign up

himanshugiripunje/input

By himanshugiripunje

•Updated over 3 years ago

this is for taking input from your application, also having flask_app

Image
0

288

himanshugiripunje/input repository overview

⁠its a docker file

app.py

import os
from flask import Flask
 app = Flask(__name__)
      @app.route("/")
    def main():
    return "Welcome!"
  @app.route('/how are you')
    def hello():
    return 'I am good, how about you?'
          if __name__ == "__main__":
  app.run(host="0.0.0.0", port=8080)
  • input.sh

     #!/bin/bash
       echo "write your name: $name"
       read name 
       echo "my name is $name" 
    

Tag summary

Content type

Image

Digest

sha256:a8d9cf0f5…

Size

55 MB

Last updated

over 3 years ago

docker pull himanshugiripunje/input