From 91c7c2c83b328bd24456a0ecc0026b1156e0eb32 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 23 Sep 2021 21:31:01 +0200 Subject: [PATCH] Update Dockerfile --- nextcloud/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"]