Replies: 5 comments
-
It's easier than I thought: The only difference that for django there should be another path to wsgi application But still it would be nice to have this feature out of the box |
Beta Was this translation helpful? Give feedback.
-
The more convenient way to do it is just to put these lines in your Dockerfile:
Or to put these lines to your CI/CD tool (better way):
Of course, you need to change app.wsgi.application to the path to your wsgi handler |
Beta Was this translation helpful? Give feedback.
-
I agree, it would be awesome to have a nice Docker integration built-in. Happy to accept a PR for this. |
Beta Was this translation helpful? Give feedback.
-
+1 |
Beta Was this translation helpful? Give feedback.
-
Can you show us the content of your serverless file? Thank you. |
Beta Was this translation helpful? Give feedback.
-
Serverless supports containers: https://www.serverless.com/blog/container-support-for-lambda
It would be amazing if it would be possible to have the support of serverless-wsgi of it, for now it's asking:
'Unable to load virtualenv, please install\n'
even if everything (django and other dependencies) are installed in the image
Beta Was this translation helpful? Give feedback.
All reactions