Accenture / serverless-ephemeral

This is a Serverless Framework plugin that helps bundling any stateless zipped library to AWS Lambda.
67 stars 15 forks source link

TensorFlow Packager #4

Closed alexleonescalera closed 6 years ago

alexleonescalera commented 6 years ago

Feature that builds a TensorFlow zip using a Docker image based on [amazonlinux|https://hub.docker.com/_/amazonlinux/]

The branch is not ready for merging yet, but prompt reviews will be helpful. To test this on your machine:

  1. Install Docker Community edition (must have docker and docker-compose commands available)
  2. Clone this repo and checkout the branch feature/tensorflow-packager
  3. Create a local link to this plugin via npm link
  4. Go to a serverless project that uses Serverless Ephemera (e.g. cd serverless-ephemeral/examples/tensorflow-lambda)
  5. Uninstall any serverless-ephemeral pointing to the npm registry: npm uninstall serverless-ephemeral
  6. Install the local copy pointing to this branch: npm link serverless-ephemeral

Make any recommendation by commenting on this pull request.