diff --git a/containers/db_cleanup/Dockerfile b/containers/db_cleanup/Dockerfile index ca480f0..98dd464 100644 --- a/containers/db_cleanup/Dockerfile +++ b/containers/db_cleanup/Dockerfile @@ -1,11 +1,13 @@ # Install dependencies only when needed FROM registry.access.redhat.com/ubi8/nodejs-16 AS deps USER 0 +WORKDIR /deleted +RUN chmod -R g+rwX /deleted WORKDIR /app # Ensure that the user can access all application files RUN chmod -R g+rwX /app -RUN chmod -R g+rwX /deleted + # Install dependencies based on the preferred package manager COPY package.json package-lock.json* ./