Files
fx-serverless/packer/images/node/app.js
Minghe ab127a36ff support image operation, (#266)
* 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
2019-09-25 20:06:49 +08:00

10 lines
181 B
JavaScript
Vendored

const Koa = require('koa');
const bodyParser = require('koa-bodyparser');
const fx = require('./fx');
const app = new Koa();
app.use(bodyParser());
app.use(fx);
app.listen(3000);