From 582003873c7fdf19fee34e78edc5b96c8c626f4f Mon Sep 17 00:00:00 2001 From: Kouhai Date: Thu, 6 Jul 2023 22:33:17 -0700 Subject: [PATCH] th: disable bootsnap? --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c5412fe14e..7773a4636c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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