From 313921b50fda6bfd2942e45e3c9a0547ff01880b Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 15 Oct 2020 17:30:19 -0700 Subject: 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. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index 5feb9e8f9..4a571909d 100644 --- a/package.json +++ b/package.json @@ -166,7 +166,7 @@ "@types/config": "^0.0.36", "@types/express": "^4.0.35", "@types/express-rate-limit": "^5.0.0", - "@types/fluent-ffmpeg": "^2.1.8", + "@types/fluent-ffmpeg": "^2.1.16", "@types/fs-extra": "^9.0.1", "@types/libxmljs": "^0.18.0", "@types/lodash": "^4.14.64", -- cgit v1.2.3