From 7c260bedf5542d8d16ef5f8145e4bc458d54e0c0 Mon Sep 17 00:00:00 2001 From: Stuart MacDonald <32204841+labkey-stuartm@users.noreply.github.com> Date: Thu, 12 Oct 2023 15:12:06 -0700 Subject: [PATCH] fix for tomcat workDir on startup --- Dockerfile | 2 ++ application.properties | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 946c353..47f65ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -175,9 +175,11 @@ RUN [ -n "${DEBUG}" ] && set -x; \ "logs" \ "server/startup" \ "${TOMCAT_BASE_DIR}" \ + "/work/Tomcat/localhost" \ \ && env | sort | tee /buid.env; \ \ + chown -Rc labkey:labkey "/work/Tomcat/localhost"; \ chown -Rc labkey:labkey "${LABKEY_HOME}"; diff --git a/application.properties b/application.properties index 7aeab79..a4b6a05 100644 --- a/application.properties +++ b/application.properties @@ -162,4 +162,4 @@ info.labkey.distribution=${LABKEY_DISTRIBUTION} server.tomcat.max-threads=50 server.servlet.session.timeout=60m -context.workDirLocation=/tmp/workDir +context.workDirLocation=/work/Tomcat/localhost