Skip to content

mkdir & add fails #5

@pushpdeep

Description

@pushpdeep

Thanks for the nice tutorial and the demo repo.

The mkdir for nginx failed and the add /static failed as well.

  1. 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

  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions