Skip to content

Commit

Permalink
fix(prestashop): set yarn cache location
Browse files Browse the repository at this point in the history
  • Loading branch information
EdieLemoine committed Oct 23, 2023
1 parent db69018 commit c1cf593
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions images/prestashop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ RUN PHP_VERSION="$(php -r "echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;")" && \
composer config --global cache-dir /tmp/.cache/composer && \
# Set npm cache location
npm config set cache /tmp/.cache/npm && \
# Set yarn cache location
yarn config set cache-folder /tmp/.cache/yarn && \
# Reset permissions
chown -R www-data . && \
# Clear cache and unnecessary dependencies
Expand Down

0 comments on commit c1cf593

Please sign in to comment.