aws / aws/aws-eb-python-dockerfiles

WSGI_PATH check multiple levels to find wsgi.py

Offen
#3 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Shell
Sterne
61
Forks
33
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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!

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
docker, python, shell
Bereich
backend, devops
Issue-Typ
Feature
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.