Compare commits

...

2 Commits

Author SHA1 Message Date
Effy Elden 7fd0261887
Add openssl-legacy-provider option 2022-12-21 09:59:57 +11:00
Effy Elden 70841d2e17
Bump Docker to node:18.12.1-bullseye-slim to test performance 2022-12-21 09:49:24 +11:00
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1.4
# This needs to be bullseye-slim because the Ruby image is built on bullseye-slim
ARG NODE_VERSION="16.18.1-bullseye-slim"
ARG NODE_VERSION="18.12.1-bullseye-slim"
FROM ghcr.io/moritzheiber/ruby-jemalloc:3.0.4-slim as ruby
FROM node:${NODE_VERSION} as build
@ -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