We provide a sample app using Python that you can deply on App Platform.
Then, create an app using your fork of this repo as the source. App Platform will inspect the code, automatically detect the kind of component to create, and use the correct buildpack to create and deploy a container. From there, you can push changes to your fork and see App Platform automatically re-deploy the update to your app.
setup.pymust be located in the root directory of the repo.
PermissionErrorunless launched with a specific argument due to an issue with Gunicorn running in Docker. To resolve, run Gunicorn to use a different location for its temp files by passing this option to the run command:
gunicorn --worker-tmp-dir /dev/shm project.wsgi