forked from dockers/pixelfed
default to rich discovery patch
This commit is contained in:
parent
c6b9df7773
commit
820d54772c
|
@ -4,6 +4,7 @@ ARG DATE
|
|||
|
||||
ENV PHPVER=7.4
|
||||
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 &&\
|
||||
|
@ -11,6 +12,7 @@ RUN set -xe;\
|
|||
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 install --prefer-dist --no-interaction --no-ansi --no-dev --optimize-autoloader &&\
|
||||
ln -s public html &&\
|
||||
|
|
Loading…
Reference in New Issue