ID:FCLD-228;DONE:7;HOURS:7; system file gen test in builder
This commit is contained in:
commit
96678994a3
|
|
@ -0,0 +1,26 @@
|
|||
app = "python-buildpack-app-sample"
|
||||
region = "asia-south1"
|
||||
handler = ""
|
||||
|
||||
[build]
|
||||
buildpack_builder = "paketobuildpacks/builder-jammy-base"
|
||||
buildpacks = ["paketo-buildpacks/python"]
|
||||
ignorefile = ".gitignore"
|
||||
[build.args]
|
||||
foo = "bar"
|
||||
|
||||
[env]
|
||||
FOO = "BAR"
|
||||
|
||||
[http_service]
|
||||
internal_port = 3000
|
||||
|
||||
[[http_service.checks]]
|
||||
interval = "1m21s"
|
||||
timeout = "7s"
|
||||
grace_period = "2s"
|
||||
method = "GET"
|
||||
path = "/"
|
||||
protocol = "http"
|
||||
[http_service.checks.headers]
|
||||
My-Custom-Header = "whatever"
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
from flask import Flask
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
@app.route('/')
|
||||
def hello():
|
||||
return 'Hello World!'
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(port=3000)
|
||||
|
|
@ -0,0 +1 @@
|
|||
Flask==3.0.3
|
||||
Loading…
Reference in New Issue
Block a user