github.com/tonto/cli@v0.0.0-20180104210444-aec958fa47db/lambda/node-6/Dockerfile (about)

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