diff --git a/Dockerfile b/Dockerfile index c1c6eff..cb01742 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,13 +43,13 @@ RUN \ LYCHEE_VERSION=$(curl -sX GET "https://api.github.com/repos/LycheeOrg/Lychee/releases/latest" \ | awk '/tag_name/{print $4;exit}' FS='[""]'); \ fi && \ - mkdir /app/lychee && \ - git clone --recurse-submodules https://github.com/LycheeOrg/Lychee.git /app/lychee && \ - cd /app/lychee && \ + mkdir /app/www && \ + git clone --recurse-submodules https://github.com/LycheeOrg/Lychee.git /app/www && \ + cd /app/www && \ git checkout "${LYCHEE_VERSION}" && \ echo "**** install composer dependencies ****" && \ composer install \ - -d /app/lychee \ + -d /app/www \ --no-dev \ --no-interaction && \ echo "**** cleanup ****" && \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index c860838..e9e4ebc 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -43,13 +43,13 @@ RUN \ LYCHEE_VERSION=$(curl -sX GET "https://api.github.com/repos/LycheeOrg/Lychee/releases/latest" \ | awk '/tag_name/{print $4;exit}' FS='[""]'); \ fi && \ - mkdir /app/lychee && \ - git clone --recurse-submodules https://github.com/LycheeOrg/Lychee.git /app/lychee && \ - cd /app/lychee && \ + mkdir /app/www && \ + git clone --recurse-submodules https://github.com/LycheeOrg/Lychee.git /app/www && \ + cd /app/www && \ git checkout "${LYCHEE_VERSION}" && \ echo "**** install composer dependencies ****" && \ composer install \ - -d /app/lychee \ + -d /app/www \ --no-dev \ --no-interaction && \ echo "**** cleanup ****" && \ diff --git a/Dockerfile.armhf b/Dockerfile.armhf index 225ac9d..d56f7d1 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -43,13 +43,13 @@ RUN \ LYCHEE_VERSION=$(curl -sX GET "https://api.github.com/repos/LycheeOrg/Lychee/releases/latest" \ | awk '/tag_name/{print $4;exit}' FS='[""]'); \ fi && \ - mkdir /app/lychee && \ - git clone --recurse-submodules https://github.com/LycheeOrg/Lychee.git /app/lychee && \ - cd /app/lychee && \ + mkdir /app/www && \ + git clone --recurse-submodules https://github.com/LycheeOrg/Lychee.git /app/www && \ + cd /app/www && \ git checkout "${LYCHEE_VERSION}" && \ echo "**** install composer dependencies ****" && \ composer install \ - -d /app/lychee \ + -d /app/www \ --no-dev \ --no-interaction && \ echo "**** cleanup ****" && \