aws / aws/aws-eb-python-dockerfiles

WSGI_PATH check multiple levels to find wsgi.py

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.