commit 8fe84c0f2acb8796769d14ea1070dbe59b673889 parent 839a14b5c2e78721a821eac566307e4e5fb5da2d Author: William Lindholm <william_lindholm@outlook.com> Date: Fri, 29 Mar 2024 21:12:25 +0100 Changed temporary install location of LenaSYS repository. Diffstat:
| M | Dockerfile | | | 6 | +++--- |
| M | init.sh | | | 2 | +- |
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Dockerfile b/Dockerfile @@ -25,9 +25,9 @@ RUN echo '<Directory /var/www/html>' > /etc/apache2/conf-available/custom-direct && echo '</Directory>' >> /etc/apache2/conf-available/custom-directory-listing.conf \ && a2enconf custom-directory-listing -RUN mkdir -p /var/www/html/temp && \ - chown www-data:www-data /var/www/html/temp && \ - git clone https://github.com/HGustavs/LenaSYS.git /var/www/html/temp +RUN mkdir -p /var/www/temp && \ + chown www-data:www-data /var/www/temp && \ + git clone https://github.com/HGustavs/LenaSYS.git /var/www/temp # Copy the initialization script COPY init.sh /usr/local/bin/init.sh diff --git a/init.sh b/init.sh @@ -2,7 +2,7 @@ # Path to the directory where the repository should be REPO_PATH="/var/www/html/LenaSYS" -TEMP_PATH="/var/www/html/temp/*" +TEMP_PATH="/var/www/temp/*" # Check if the directory is empty if [ ! "$(ls -A $REPO_PATH)" ]; then