Skip to content

Commit

Permalink
Copy everything starting with .yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
boboldehampsink committed Nov 28, 2024
1 parent 8db227f commit acfe19a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ ENV COMPOSER_ALLOW_SUPERUSER=1
ONBUILD RUN composer install --prefer-dist --no-scripts --no-progress --no-interaction --no-autoloader

# run npm or yarn install
ONBUILD COPY *package*.json *yarn.lock *.yarnrc.yml *.npmrc Dockerfile /app/user/
ONBUILD COPY *package*.json *yarn.lock *.yarn *.npmrc Dockerfile /app/user/
ONBUILD RUN [ -f yarn.lock ] && yarn install --no-progress --ignore-scripts --network-timeout 1000000 || yarn install --mode=skip-build --network-timeout 1000000 || npm install --no-progress --ignore-scripts --legacy-peer-deps

# rest of app
Expand Down

0 comments on commit acfe19a

Please sign in to comment.