Thanks for the nice tutorial and the demo repo.
The mkdir for nginx failed and the add /static failed as well.
-
the mkdir issue was resolved by following this link ( -p to be added before the path )
https://stackoverflow.com/questions/30741995/cannot-execute-run-mkdir-in-a-dockerfile
-
the Dockerfile of nginx fails to add static, as its in the parent directory. To make it work, i copied the static folder from the parent folder into the nginx directory. The nginx dockerfile doesnt has permission to read the files of the parent dir.
I have posting the issues, in case anyone faces it as well.
By the way, I tried fixing the bad 400 request, by adding * and localhost address to the settings.py and rebuilding again. it still did not work.
Thanks for the nice tutorial and the demo repo.
The mkdir for nginx failed and the add /static failed as well.
the mkdir issue was resolved by following this link ( -p to be added before the path )
https://stackoverflow.com/questions/30741995/cannot-execute-run-mkdir-in-a-dockerfile
the Dockerfile of nginx fails to add static, as its in the parent directory. To make it work, i copied the static folder from the parent folder into the nginx directory. The nginx dockerfile doesnt has permission to read the files of the parent dir.
I have posting the issues, in case anyone faces it as well.
By the way, I tried fixing the bad 400 request, by adding * and localhost address to the settings.py and rebuilding again. it still did not work.