aboutsummaryrefslogtreecommitdiffhomepage
path: root/package.json
diff options
context:
space:
mode:
authorGirish Ramakrishnan <girish@cloudron.io>2020-10-15 17:30:19 -0700
committerChocobozzz <chocobozzz@cpy.re>2020-10-23 14:51:44 +0200
commit313921b50fda6bfd2942e45e3c9a0547ff01880b (patch)
tree6bea5d919245474b485a8d15df9212895782b42a /package.json
parente0f31bc9ce4b45fd4ee1d541a2e573497ca3253d (diff)
downloadPeerTube-313921b50fda6bfd2942e45e3c9a0547ff01880b.tar.gz
PeerTube-313921b50fda6bfd2942e45e3c9a0547ff01880b.tar.zst
PeerTube-313921b50fda6bfd2942e45e3c9a0547ff01880b.zip
Fix transcoding errors in readonly docker containers
ffmpeg seems to create some temporary files in the cwd. When PeerTube is run in a read-only docker container, this causes all transcoding to fail. As a workaround, we set the cwd to the configured tmp dir.
Diffstat (limited to 'package.json')
-rw-r--r--package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json
index 5feb9e8f9..4a571909d 100644
--- a/package.json
+++ b/package.json
@@ -166,7 +166,7 @@
166 "@types/config": "^0.0.36", 166 "@types/config": "^0.0.36",
167 "@types/express": "^4.0.35", 167 "@types/express": "^4.0.35",
168 "@types/express-rate-limit": "^5.0.0", 168 "@types/express-rate-limit": "^5.0.0",
169 "@types/fluent-ffmpeg": "^2.1.8", 169 "@types/fluent-ffmpeg": "^2.1.16",
170 "@types/fs-extra": "^9.0.1", 170 "@types/fs-extra": "^9.0.1",
171 "@types/libxmljs": "^0.18.0", 171 "@types/libxmljs": "^0.18.0",
172 "@types/lodash": "^4.14.64", 172 "@types/lodash": "^4.14.64",