diff --git a/Dockerfile b/Dockerfile index 6a0097a5d..057108079 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,12 @@ FROM maven:3-jdk-11 as build WORKDIR /usr/src/app -COPY OpenRefine OpenRefine +RUN git clone https://github.com/OpenRefine/OpenRefine WORKDIR /usr/src/app/OpenRefine +COPY muor-openrefine.patch . +RUN git apply muor-openrefine.patch + RUN ./refine clean RUN ./refine build @@ -15,5 +18,4 @@ COPY --from=build /usr/src/app/OpenRefine . VOLUME /data EXPOSE 3333 -ENTRYPOINT ["/usr/app/refine"] -CMD ["-i", "0.0.0.0", "-d", "/data", "-m", "3G"] +ENTRYPOINT ["/usr/app/refine", "-i", "0.0.0.0", "-d", "/data", "-m", "3G"] \ No newline at end of file diff --git a/muor-openrefine.patch b/muor-openrefine.patch new file mode 100644 index 000000000..ebc9456df --- /dev/null +++ b/muor-openrefine.patch @@ -0,0 +1,37 @@ +diff --git a/main/webapp/modules/core/index.vt b/main/webapp/modules/core/index.vt +index 94b5efdb6..16a3f28b1 100644 +--- a/main/webapp/modules/core/index.vt ++++ b/main/webapp/modules/core/index.vt +@@ -46,6 +46,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +
+diff --git a/main/webapp/modules/core/project.vt b/main/webapp/modules/core/project.vt +index a0c33ec31..1a6d66e99 100644 +--- a/main/webapp/modules/core/project.vt ++++ b/main/webapp/modules/core/project.vt +@@ -48,7 +48,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + OpenRefine +
+ +- ++ Logout +
+
+ +diff --git a/main/webapp/modules/core/styles/index.less b/main/webapp/modules/core/styles/index.less +index e26731624..3905ae01a 100644 +--- a/main/webapp/modules/core/styles/index.less ++++ b/main/webapp/modules/core/styles/index.less +@@ -46,6 +46,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + font-style: italic; + font-size: 110%; + color: @near_black; ++ white-space: nowrap; + } + + #left-panel-body {