Skip to content

Commit

Permalink
Reset tmp dir in docker build, fix permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
mtnstar committed Jun 28, 2023
1 parent ce075ba commit 520ebe8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 520ebe8

Please sign in to comment.