chore: exclude test gems from production bundle

This commit is contained in:
luojiyin
2025-12-05 12:01:36 +08:00
parent d729cf59f9
commit 437cc1e94f
+1 -1
View File
@@ -24,7 +24,7 @@ RUN apt-get update -qq && \
ENV RAILS_ENV="production" \
BUNDLE_DEPLOYMENT="1" \
BUNDLE_PATH="/usr/local/bundle" \
BUNDLE_WITHOUT="development" \
BUNDLE_WITHOUT="development:test" \
LD_PRELOAD="/usr/local/lib/libjemalloc.so"
# Throw-away build stage to reduce size of final image