Files
fn-serverless/cli/lambda/node-6/Dockerfile
Travis Reeder 48e3781d5e Rename to GitHub (#3)
* circle

* Rename to github and fn->cli

*  Rename to github and fn->cli
2017-07-26 10:50:19 -07:00

14 lines
377 B
Docker

FROM node:6-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
# cli should forbid this name
ADD bootstrap.js /function/lambda-bootstrap.js
# Run the handler, with a payload in the future.
ENTRYPOINT ["node", "./lambda-bootstrap"]