this is for taking input from your application, also having flask_app
288
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"
Content type
Image
Digest
sha256:a8d9cf0f5…
Size
55 MB
Last updated
over 3 years ago
docker pull himanshugiripunje/input