change www location

This commit is contained in:
aptalca
2018-02-07 16:19:10 -05:00
committed by GitHub
parent dcb82e63c4
commit eb5710279a

View File

@@ -17,7 +17,7 @@ RUN \
php7-pdo_sqlite \ php7-pdo_sqlite \
php7-tokenizer \ php7-tokenizer \
tar && \ tar && \
mkdir -p /app/heimdall && \ mkdir -p /var/www/localhost/heimdall && \
VERSION="$(curl -sX GET https://api.github.com/repos/linuxserver/Heimdall/releases/latest | grep 'tag_name' | cut -d\" -f4)" && \ VERSION="$(curl -sX GET https://api.github.com/repos/linuxserver/Heimdall/releases/latest | grep 'tag_name' | cut -d\" -f4)" && \
echo "**Installing Heimdall ${VERSION}**" && \ echo "**Installing Heimdall ${VERSION}**" && \
curl -o \ curl -o \
@@ -26,7 +26,7 @@ RUN \
tar xf \ tar xf \
/tmp/heimdall.tar.gz -C \ /tmp/heimdall.tar.gz -C \
/tmp && \ /tmp && \
cp -R /tmp/Heimdall-*/* /app/heimdall/ && \ cp -R /tmp/Heimdall-*/* /var/www/localhost/heimdall/ && \
echo "** cleanup **" && \ echo "** cleanup **" && \
rm -rf \ rm -rf \
/tmp/* /tmp/*