* fx image build, build a function into a image which a API service handle with function * fx image export, export service into a directory, for easy debug, we can just go the directory to do everything with Docker cli
11 lines
170 B
Ruby
Vendored
11 lines
170 B
Ruby
Vendored
#
|
|
# ctx = {
|
|
# :request => request,
|
|
# :response => response,
|
|
# :status => status,
|
|
# :headers => headers,
|
|
# }
|
|
def fx(ctx)
|
|
ctx[:response].body = "hello world"
|
|
end
|