diff --git a/servers/memory/Dockerfile b/servers/memory/Dockerfile index e91fca9..8a89bb3 100644 --- a/servers/memory/Dockerfile +++ b/servers/memory/Dockerfile @@ -38,6 +38,9 @@ RUN --mount=type=cache,target=/root/.cache/pip \ --mount=type=bind,source=requirements.txt,target=requirements.txt \ python -m pip install -r requirements.txt +# Change the ownership of /app directory and its contents to appuser +RUN chown -R ${UID}:${UID} /app + # Switch to the non-privileged user to run the application. USER appuser