chore: exclude test gems from production bundle
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ RUN apt-get update -qq && \
|
|||||||
ENV RAILS_ENV="production" \
|
ENV RAILS_ENV="production" \
|
||||||
BUNDLE_DEPLOYMENT="1" \
|
BUNDLE_DEPLOYMENT="1" \
|
||||||
BUNDLE_PATH="/usr/local/bundle" \
|
BUNDLE_PATH="/usr/local/bundle" \
|
||||||
BUNDLE_WITHOUT="development" \
|
BUNDLE_WITHOUT="development:test" \
|
||||||
LD_PRELOAD="/usr/local/lib/libjemalloc.so"
|
LD_PRELOAD="/usr/local/lib/libjemalloc.so"
|
||||||
|
|
||||||
# Throw-away build stage to reduce size of final image
|
# Throw-away build stage to reduce size of final image
|
||||||
|
|||||||
Reference in New Issue
Block a user