Skip to content

Commit

Permalink
share with the host only the tmp autocleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
pofider committed Apr 8, 2024
1 parent ce539b1 commit 3f7852d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jsreport-docker-workers/lib/docker/container.js
Expand Up @@ -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
Expand Down

0 comments on commit 3f7852d

Please sign in to comment.