Update Dockerfile

This commit is contained in:
Alexandre authored and GitHub committed 2021-09-23 21:31:01 +02:00
1 parent 845f14018b
commit 91c7c2c83b
1 file changed
+3 -3
+3 -3
View File
@@ -4,9 +4,6 @@ ARG BUILD_UPSTREAM="22.1.1"
FROM ${BUILD_FROM} FROM ${BUILD_FROM}
FROM diamol/elasticsearch:latest
RUN bin/elasticsearch-plugin install --batch ingest-attachment
ENV NEXTCLOUD_PATH="/data/config/www/nextcloud" ENV NEXTCLOUD_PATH="/data/config/www/nextcloud"
# Added repo to solve issues with some systems that cause error code 1 when fetching apk # 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"] RUN ["chmod", "+x", "/defaults/nextcloud-perms.sh"]
FROM diamol/elasticsearch:latest
RUN bin/elasticsearch-plugin install --batch ingest-attachment
VOLUME ["/share", "/ssl", "/data", "/media"] VOLUME ["/share", "/ssl", "/data", "/media"]