Skip to content
Snippets Groups Projects

Fix Docker image to run in healthy mode

Merged Bastien Abadie requested to merge fix-dockerfile into master
3 files
+ 9
2
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 7
1
@@ -2,7 +2,8 @@
import os
import sys
if __name__ == "__main__":
def main():
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "arkindex.project.settings")
try:
from django.core.management import execute_from_command_line
@@ -20,3 +21,8 @@ if __name__ == "__main__":
)
raise
execute_from_command_line(sys.argv)
if __name__ == "__main__":
sys.stderr.write("WARNING: manage.py is deprecated, you should use the `arkindex` script instead\n")
main()
Loading