aws / aws/aws-eb-python-dockerfiles
WSGI_PATH check multiple levels to find wsgi.py
- Dominant language
- Shell
- Stars
- 61
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
In addition would be great if your base image support multiple folder depths. wsgi.py is not always located one level deep. Especially if you have multiple django apps, you may want a command such as:
WSGI_PATH=`find /var/app | egrep 'wsgi.py'`
This would allow more projects based on this docker image, using a project structure such as:
/backend
/polls
/mysite
wysgi.py
/frontend
gulpfile.js
package.json
/src
Thanks!
Contributor guide
Research direction
Inspect the base image startup configuration where WSGI_PATH is currently set, then reproduce the nested /backend/mysite/wsgi.py layout shown in the issue. The change is done when the image can locate wsgi.py at multiple folder depths while retaining support for the existing layout.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python, shell
- Domain
- backend, devops
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100