Skip to content

Commit

Permalink
try to fix composer related bug
Browse files Browse the repository at this point in the history
  • Loading branch information
acdh-ch committed Aug 14, 2023
1 parent ae3ee40 commit d59927c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash

# set path for php
export PATH="/app/.heroku/php/bin:${PATH}"

# install some tools
apt-get update && apt-get install -y vim git links

Expand Down Expand Up @@ -48,10 +51,11 @@ cp -r /app/custom/MyWikisLocalConfig /app/extensions/

# set owner to herokuishuser
chown -R herokuishuser:herokuishuser /app/extensions
cd /
cd /app/

# set path for php
export PATH="/app/.heroku/php/bin:${PATH}"
php composer.phar update

cd /

# Start web server
exec heroku-php-apache2

0 comments on commit d59927c

Please sign in to comment.