diff --git a/nextcloud/Dockerfile b/nextcloud/Dockerfile index b2fedd011..dad956e27 100644 --- a/nextcloud/Dockerfile +++ b/nextcloud/Dockerfile @@ -4,9 +4,6 @@ ARG BUILD_UPSTREAM="22.1.1" FROM ${BUILD_FROM} -FROM diamol/elasticsearch:latest -RUN bin/elasticsearch-plugin install --batch ingest-attachment - ENV NEXTCLOUD_PATH="/data/config/www/nextcloud" # Added repo to solve issues with some systems that cause error code 1 when fetching apk @@ -44,4 +41,7 @@ COPY root/ / RUN ["chmod", "+x", "/defaults/nextcloud-perms.sh"] +FROM diamol/elasticsearch:latest +RUN bin/elasticsearch-plugin install --batch ingest-attachment + VOLUME ["/share", "/ssl", "/data", "/media"]