Add openssl-legacy-provider option

This commit is contained in:
Effy Elden 2022-12-21 09:59:57 +11:00 committed by GitHub
parent 70841d2e17
commit 7fd0261887
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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