fix: permissions error when creating /grove directory
Description
Fixes this:
> [production 31/32] RUN mkdir -p /grove:
0.187 mkdir: cannot create directory ‘/grove’: Permission denied
------
Dockerfile:230
--------------------
228 | ENV DJANGO_SETTINGS_MODULE lms.envs.tutor.production
229 |
230 | >>> RUN mkdir -p /grove
231 | COPY --chown=app:app ./grove/scripts /grove/scripts
232 |
--------------------
ERROR: failed to solve: process "/bin/sh -c mkdir -p /grove" did not complete successfully: exit code: 1
Testing instructions
openedx
container building should complete successfully.
Checklist
If any of the items below is not applicable, do not remove them, but put a check in it.
-
Git commit history is clean -
Git commits are following conventional-commit practices -
Unit tests are added/updated -
Documentation is added/updated