diff --git a/infrastructure/build/image/Dockerfile b/infrastructure/build/image/Dockerfile index 8647345..4d3289b 100644 --- a/infrastructure/build/image/Dockerfile +++ b/infrastructure/build/image/Dockerfile @@ -5,7 +5,7 @@ ADD resources /tmp ENV BUILDDIR="/etc/website" ENV SOURCEDIR="/etc/websitesource" -ENV WEBSITE_ROOT="/var/www/html/website/" +ENV WEBSITEROOT="/var/www/html/website/" ENV HASHFILEDIR="/var/hashfile.d" RUN /tmp/install.sh diff --git a/infrastructure/build/image/resources/functions.sh b/infrastructure/build/image/resources/functions.sh index 10a43ad..896e2d0 100644 --- a/infrastructure/build/image/resources/functions.sh +++ b/infrastructure/build/image/resources/functions.sh @@ -25,5 +25,5 @@ function build-website() { } function move-website-files-to-target() { - (cd $BUILDDIR; dir=$(ls); cd $dir; rsync -ru --exclude-from "/etc/exclude.pattern" --delete target/html/* $WEBSITE_ROOT;) + (cd $BUILDDIR; dir=$(ls); cd $dir; rsync -ru --exclude-from "/etc/exclude.pattern" --delete target/html/* $WEBSITEROOT;) }