th: disable bootsnap?

lolsob-rspec
kouhai dev 2023-07-06 22:33:17 -07:00
parent 1a7cf76661
commit 582003873c
1 changed files with 2 additions and 3 deletions

View File

@ -76,7 +76,8 @@ ENV OTP_SECRET=precompile_placeholder \
SECRET_KEY_BASE=precompile_placeholder \
RAKE_NO_YARN_INSTALL_HACK=1
ENV BOOTSNAP_CACHE_DIR=/opt/mastodon/bootsnap
# override this at will
ENV BOOTSNAP_READONLY=1
RUN --mount=type=cache,id=yarn,target=/opt/yarn/cache,sharing=private \
--mount=type=cache,id=webpacker,target=/opt/webpacker/cache,sharing=private \
@ -146,8 +147,6 @@ ENV RAILS_ENV="production" \
MASTODON_VERSION_FLAGS="${MASTODON_VERSION_FLAGS}" \
MASTODON_VERSION_SUFFIX="${MASTODON_VERSION_SUFFIX}"
ENV BOOTSNAP_CACHE_DIR=/opt/mastodon/bootsnap
# override this at will
ENV BOOTSNAP_READONLY=1