snapcraft

Deploy python venv as snap

你。 提交于 2019-12-10 17:53:59
问题 We have a python(3) venv rest api. In the same venv we have also installed and configured the application server uwsgi the api is running on. And we are looking for a clean way to deploy it. Until now we are deploying with is a simple script that creates the venv install the dependencies from pip and then runs the app. I am wondering if using snap would be possible to package everything nicely and simply install them on a server. Is that possible or a good practice to deploy a web api this