Files
fission-src/src/function-run/nodejs/Dockerfile
T
Soam Vasani 67be5a7b10 NodeJS Function Run Container
First cut of a function run container for NodeJS. So far, just the
simplest stuff: loads a user function and routes requests to it. The
user function is assumed to be in a file at a provided location. The
fission runtime is expected to place the file there securely (exactly
how we'll do that is TBD).

Doesn't handle path template params, query strings, etc. Will also
need to be extended later with some sort of hook for graceful
shutdown.
2016-08-23 17:23:20 -07:00

8 lines
113 B
Docker

# A docker image for the func container.
FROM node:4-onbuild
ADD server.js /usr/src/app/server.js
EXPOSE 8888