Python uWSGI Flask and MySQL is full web development. This docker image can allow to provide enough to build a small complete app to take to the online.
sudo docker run --name=pufm -d -p 8002:8002/tcp tinyorb/arm64v8_pufm:v1.1
sudo docker exec -it pufm bash
cat > App/__main__.py << END
from flask import Flask
app = Flask(__name__)
@app.route("/")
def home():
return "Running on a custom host and port!"
if __name__ == "__main__":
# host='0.0.0.0' listens on all available network interfaces
# port=8080 changes the default port from 5000
app.run(host="0.0.0.0", port=8002, debug=True)
END
python App
[email protected]Content type
Image
Digest
sha256:96ff8cfe1…
Size
279.2 MB
Last updated
9 months ago
docker pull tinyorb/arm64v8_pufm:v1.1