github.com/iron-io/functions@v0.0.0-20180820112432-d59d7d1c40b2/fn/commands/lambda/node/Dockerfile (about)

     1  FROM node:4-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  # ironcli 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"]