Skip to content

Commit

Permalink
Fix Docker rm cache dir
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed Jan 5, 2023
1 parent a1ac091 commit 1ae074b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ RUN bundle install && yarn &&\
find /usr/local/bundle -name tmp -type d -exec rm -rf {} + && \
find /usr/local/bundle -name "*.gem" -type f -exec rm -rf {} + && \
find /usr/local/lib/ruby -name "*.gem" -type f -exec rm -rf {} + && \
rm /usr/local/share/.cache/ && \
rm /root/.cargo/registry/cache
rm -Rf /usr/local/share/.cache/ && \
rm -Rf /root/.cargo/registry/cache

ADD . /home/app/homeland
ADD ./config/nginx/ /etc/nginx
Expand Down

0 comments on commit 1ae074b

Please sign in to comment.