aws / aws/aws-eb-python-dockerfiles

WSGI_PATH check multiple levels to find wsgi.py

Aperta
#3 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Shell
Stelle
61
Fork
33
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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!

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
docker, python, shell
Ambito
backend, devops
Tipo di issue
Funzionalità
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.