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 65e092b + 4dfbcbc commit 12ee0f5
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 @@ -138,6 +138,9 @@ RUN echo "\n\
extension=xsl.so \n\
" >> /app/.heroku/php/etc/php/php.ini

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

# 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 @@ -147,7 +150,6 @@ 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 12ee0f5

Please sign in to comment.