diff --git a/Dockerfile b/Dockerfile index 1fa90e475..bf76ec9e6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,7 +34,7 @@ RUN bundle config set --local deployment 'true' \ && bundle install \ && bundle clean -RUN rm -rf vendor/cache/ .git +RUN rm -rf vendor/cache/ .git tmp # build frontend RUN yarn global add ember-cli@4.8.0 @@ -46,6 +46,8 @@ RUN apt-get autoremove -y RUN adduser --disabled-password --uid 1001 --gid 0 --gecos "" app +RUN mkdir /app-src/tmp && chown -R 1001 /app-src/tmp + USER 1001 # make sure unique secret key is set by operator