aws / aws/aws-eb-python-dockerfiles

WSGI_PATH check multiple levels to find wsgi.py

Ouverte
#3 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Shell
Étoiles
61
Forks
33
Métriques de merge des PR
Aucune PR mergée en 30 j

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!

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
docker, python, shell
Domaine
backend, devops
Type d'issue
Fonctionnalité
Difficulté
2/5
Temps estimé
1-3 heures
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.