From 3f7852d3a0fc999e37ab8b9fc20b37eeac41d4d4 Mon Sep 17 00:00:00 2001 From: pofider Date: Mon, 8 Apr 2024 21:51:41 +0200 Subject: [PATCH] share with the host only the tmp autocleanup --- packages/jsreport-docker-workers/lib/docker/container.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/jsreport-docker-workers/lib/docker/container.js b/packages/jsreport-docker-workers/lib/docker/container.js index 8aec69ba2..add8ceca4 100644 --- a/packages/jsreport-docker-workers/lib/docker/container.js +++ b/packages/jsreport-docker-workers/lib/docker/container.js @@ -63,7 +63,7 @@ module.exports = class Container { runCMD += ` --expose 9229 -p ${this.debugPort}:9229` } - runCMD += ` --volume=${this.sharedTempHostBindMountRootPath}/${this.id}:/tmp/jsreport` + runCMD += ` --volume=${this.sharedTempHostBindMountRootPath}/${this.id}/autocleanup:/tmp/jsreport/autocleanup` runCMD += ' --tmpfs=/tmp' // the .config .local .cache are needed for unoconv, I wasn't able to find different way to configure libre office to use different location for temps