autoload
parent
cc8ea24f8b
commit
748bbe9512
|
@ -7,13 +7,15 @@ ENV IP_PATCH=2722da0c4749b726bfb87ac56ba055940c2d2fc7
|
|||
ENV DISCOVERY_PATCH=79c8dba872805e197d4855d3a22a6ddea05cfb0f
|
||||
|
||||
RUN set -xe;\
|
||||
apt-install git unzip php${PHPVER}-curl php${PHPVER}-zip php${PHPVER}-bcmath php${PHPVER}-intl php${PHPVER}-mbstring php${PHPVER}-xml composer &&\
|
||||
apt-install git unzip php${PHPVER}-curl php${PHPVER}-zip php${PHPVER}-bcmath php${PHPVER}-intl php${PHPVER}-mbstring php${PHPVER}-xml composer
|
||||
RUN set -xe;\
|
||||
cd /var && rm -rf www &&\
|
||||
git clone https://github.com/pixelfed/pixelfed.git www &&\
|
||||
cd www &&\
|
||||
curl -L https://github.com/hnrd/pixelfed/commit/${IP_PATCH}.patch | git apply &&\
|
||||
curl -L https://github.com/hnrd/pixelfed/commit/${DISCOVERY_PATCH}.patch | git apply &&\
|
||||
# composer require beyondcode/laravel-self-diagnosis &&\
|
||||
#composer require beyondcode/laravel-self-diagnosis &&\
|
||||
composer dump-autoload &&\
|
||||
composer install --prefer-dist --no-interaction --no-ansi --no-dev --optimize-autoloader &&\
|
||||
ln -s public html &&\
|
||||
chown -R www-data:www-data /var/www &&\
|
||||
|
|
Loading…
Reference in New Issue