![]() The dockerizePip option supports a special case in addition to booleans of 'non-linux' which makes To enable docker usage, add the following to your serverless.yml: custom: pythonRequirements: dockerizePip: true Supported on non-linux OSs via the use of Docker and the ![]() ![]() Cross compilingĬompiling non-pure-Python modules or fetching their manylinux wheels is If you're on a mac, check out these notes about using python installed by brew. That's all that's needed for basic use! The plugin will now bundle your pythonĭependencies specified in your requirements.txt or Pipfile when you run sls deploy.įor a more in depth introduction on how to use this plugin, check out This will automatically add the plugin to your project's package.json and the plugins section of its Requires Serverless >= v1.34 Install sls plugin install -n serverless-python-requirements ![]() ![]() Requirements.txt and make them available in your PYTHONPATH. A Serverless v1.x plugin to automatically bundle dependencies from ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |