From 7fd0261887c3101adbdb0f46a795d72cada1ebe9 Mon Sep 17 00:00:00 2001 From: Effy Elden Date: Wed, 21 Dec 2022 09:59:57 +1100 Subject: [PATCH] Add openssl-legacy-provider option --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index aab143cbd..b683dbc4e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -91,7 +91,7 @@ USER mastodon WORKDIR /opt/mastodon # Precompile assets -RUN OTP_SECRET=precompile_placeholder SECRET_KEY_BASE=precompile_placeholder rails assets:precompile && \ +RUN OTP_SECRET=precompile_placeholder SECRET_KEY_BASE=precompile_placeholder NODE_OPTIONS=--openssl-legacy-provider rails assets:precompile && \ yarn cache clean # Set the work dir and the container entry point