Files
fn-serverless/fn/lambda/node/Dockerfile
Travis Reeder ca18ae88fa Added Lambda Node support as part of the regular functions workflow. (#601)
* Added Lambda Node support as part of the regular functions workflow.

* Fixes for PR comments.
2017-03-22 21:41:27 +01:00

14 lines
381 B
Docker

FROM node:4-alpine
WORKDIR /function
# Install ImageMagick and AWS SDK as provided by Lambda.
RUN apk update && apk --no-cache add imagemagick
RUN npm install aws-sdk@2.2.32 imagemagick && npm cache clear
# ironcli should forbid this name
ADD bootstrap.js /function/lambda-bootstrap.js
# Run the handler, with a payload in the future.
ENTRYPOINT ["node", "./lambda-bootstrap"]