1
0
Fork 0

Simplified Dockerfile

This commit is contained in:
Moritz Heiber 2018-05-29 09:20:17 +02:00
parent 609ca40e69
commit 9baa229a12
1 changed files with 6 additions and 6 deletions

View File

@ -13,12 +13,12 @@ RUN apk add --no-cache --virtual .build build-base autoconf imagemagick-dev libt
install -m0755 -o root -g root /tmp/composer.phar /usr/bin/composer.phar && \
ln -sf /usr/bin/composer.phar /usr/bin/composer && \
mkdir -p /var/www && \
install -d -m0755 -o www-data -g www-data /var/www/html/pixelfed && \
install -d -m0755 -o www-data -g www-data /var/www/html/pixelfed/storage && \
install -d -m0755 -o www-data -g www-data /var/www/html/pixelfed/storage/framework && \
install -d -m0755 -o www-data -g www-data /var/www/html/pixelfed/storage/framework/sessions && \
install -d -m0755 -o www-data -g www-data /var/www/html/pixelfed/storage/framework/views && \
install -d -m0755 -o www-data -g www-data /var/www/html/pixelfed/storage/framework/cache && \
install -d -m0755 -o www-data -g www-data /var/www/html/pixelfed \
/var/www/html/pixelfed/storage \
/var/www/html/pixelfed/storage/framework \
/var/www/html/pixelfed/storage/framework/sessions \
/var/www/html/pixelfed/storage/framework/views \
/var/www/html/pixelfed/storage/framework/cache && \
rm /tmp/composer.phar && \
apk del --purge .build