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