From d249e144e3b64c0c3dd575a165a6cf5acc7c1bde Mon Sep 17 00:00:00 2001 From: chinelo-obitube Date: Wed, 26 Feb 2025 17:34:24 +0000 Subject: [PATCH] add extra step to add permissions --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index ee4dbe21f..1837f0b3c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,6 +41,7 @@ RUN echo "gem: --no-rdoc --no-ri" > ~/.gemrc && gem install bundler RUN bundle config force_ruby_platform true RUN bundle install --jobs 20 --retry 5 +RUN chown -R $DEPLOYUSER:$DEPLOYUSER /app # Copy application files COPY --chown=${DEPLOYUSER}:${DEPLOYUSER} . /app