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

Using node_modules installed packaged plugin #12

Open piercus opened 6 years ago

piercus commented 6 years ago

I think tensorflow packager should be published on npm separately like : package.json

"devDependencies" : {
  "ephemeral-packager-tensorflow": "^0.2.1"
}

serverless.yml

custom:
  ephemeral:
    libraries:
      - packager:
          name: ephemeral-packager-tensorflow
          version: 1.4.0

If we add this possibility, i owuld be happy to create 2 more packager for node-canvas and node-opencv (see my dockerFiles in https://hub.docker.com/r/piercus/lambda-canvas/ and https://hub.docker.com/r/piercus/lambda-opencv/ with the excat same purpose)

Please share your point of view about this.

piercus commented 6 years ago

@alexleonescalera can you share the dockerfile of https://hub.docker.com/r/alexleonescalera/serephem-venv/ ?

alexleonescalera commented 6 years ago

You can find it in the packager/serephem-venv directory.