mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-02-02 09:50:46 +00:00
commit
ef45c4b21b
1 changed files with 2 additions and 4 deletions
|
@ -92,11 +92,9 @@ RUN curl -o /tmp/composer-setup.php https://getcomposer.org/installer \
|
||||||
COPY . /var/www/
|
COPY . /var/www/
|
||||||
# for detail why storage is copied this way, pls refer to https://github.com/pixelfed/pixelfed/pull/2137#discussion_r434468862
|
# for detail why storage is copied this way, pls refer to https://github.com/pixelfed/pixelfed/pull/2137#discussion_r434468862
|
||||||
RUN cp -r storage storage.skel \
|
RUN cp -r storage storage.skel \
|
||||||
&& composer global require hirak/prestissimo --prefer-dist --no-interaction --no-ansi --no-suggest \
|
|
||||||
&& composer install --prefer-dist --no-interaction --no-ansi --optimize-autoloader \
|
&& composer install --prefer-dist --no-interaction --no-ansi --optimize-autoloader \
|
||||||
&& composer update --prefer-dist --no-interaction --no-ansi \
|
&& rm -rf html && ln -s public html \
|
||||||
&& composer global remove hirak/prestissimo --no-interaction --no-ansi \
|
&& chown -R www-data:www-data /var/www
|
||||||
&& rm -rf html && ln -s public html
|
|
||||||
VOLUME /var/www/storage /var/www/bootstrap
|
VOLUME /var/www/storage /var/www/bootstrap
|
||||||
|
|
||||||
CMD ["/var/www/contrib/docker/start.apache.sh"]
|
CMD ["/var/www/contrib/docker/start.apache.sh"]
|
||||||
|
|
Loading…
Reference in a new issue