aws / aws/aws-eb-python-dockerfiles
WSGI_PATH check multiple levels to find wsgi.py
- Ngôn ngữ chính
- Shell
- Star
- 61
- Fork
- 33
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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!
Hướng dẫn đóng góp
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- docker, python, shell
- Lĩnh vực
- backend, devops
- Loại issue
- Tính năng
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100