Skip to content

Commit

Permalink
Merge branch 'master' into pdo_sqlsrv
Browse files Browse the repository at this point in the history
  • Loading branch information
boboldehampsink committed Nov 28, 2024
2 parents c606cd4 + 21578e5 commit 65e092b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,6 @@ RUN echo "\n\
extension=xsl.so \n\
" >> /app/.heroku/php/etc/php/php.ini

# Enable Corepack
RUN corepack enable --install-directory /app/.heroku/node

# copy dep files first so Docker caches the install step if they don't change
ONBUILD COPY composer.json composer.lock /app/user/

Expand All @@ -150,6 +147,7 @@ ONBUILD RUN composer install --prefer-dist --no-scripts --no-progress --no-inter

# run npm or yarn install
ONBUILD COPY *package*.json *yarn.lock *.yarnrc.yml *.npmrc Dockerfile /app/user/
ONBUILD RUN corepack enable --install-directory /app/.heroku/node
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 65e092b

Please sign in to comment.