From 30b165c9dc855cd2eb357f33b0457587e71966b2 Mon Sep 17 00:00:00 2001 From: Thomas Burkhalter Date: Sat, 23 Nov 2024 00:38:09 +0100 Subject: [PATCH] Improve deface building --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8834ed6..9af1f5f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,13 +21,13 @@ ARG BUILD_SCRIPT="set -uex \ && yarn set version 1.22.19" ARG BUNDLE_WITHOUT="development:metrics:test" ARG BUNDLER_VERSION="2.5.6" -ARG POST_BUILD_SCRIPT="bundle exec rails assets:precompile" +ARG POST_BUILD_SCRIPT="DEFACE_ENABLED=1 bundle exec rails deface:precompile && bundle exec rails assets:precompile" ARG RAILS_DB_ADAPTER="nulldb" ARG SKIP_MEMCACHE_CHECK="true" ARG RAILS_ENV="production" ARG SECRET_KEY_BASE="thisneedstobeset" ARG CUSTOMIZATION_OUTPUT="false" -ARG DISABLE_DEFACE="true" +ARG DEFACE_ENABLED="0" # Install packages needed at buildtime RUN apt-get update \