From a6ac1a14fc64f08d0fb0781b60f25566f8ab66ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20BEAU?= Date: Wed, 2 Nov 2022 08:54:12 +0100 Subject: [PATCH] Fix build --- install/gosu.sh | 2 +- install/shopinvader.sh | 4 ++-- shopinvader/Gemfile.lock | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/install/gosu.sh b/install/gosu.sh index 439bfa2..8e2de14 100755 --- a/install/gosu.sh +++ b/install/gosu.sh @@ -1,5 +1,5 @@ #!/bin/bash -set -eo pipefail +set -exo pipefail # copy from https://raw.githubusercontent.com/camptocamp/docker-odoo-project/master/install/gosu.sh diff --git a/install/shopinvader.sh b/install/shopinvader.sh index 2ad6522..bf5765d 100755 --- a/install/shopinvader.sh +++ b/install/shopinvader.sh @@ -1,8 +1,8 @@ #!/bin/bash -set -eo pipefail +set -euxo pipefail bundle install --without development mkdir -p tmp log chown 9999:9999 tmp log -bundle exec rake assets:precompile +RAILS_ENV=production bundle exec rake assets:precompile rm -rf log/* tmp/* diff --git a/shopinvader/Gemfile.lock b/shopinvader/Gemfile.lock index 03e4ed4..00887cc 100644 --- a/shopinvader/Gemfile.lock +++ b/shopinvader/Gemfile.lock @@ -80,7 +80,7 @@ GEM autoprefixer-rails (8.0.0) execjs aws-eventstream (1.2.0) - aws-partitions (1.653.0) + aws-partitions (1.654.0) aws-sdk-core (3.166.0) aws-eventstream (~> 1, >= 1.0.2) aws-partitions (~> 1, >= 1.651.0) @@ -565,7 +565,7 @@ GEM xpath (3.2.0) nokogiri (~> 1.8) yajl-ruby (1.3.1) - zeitwerk (2.6.2) + zeitwerk (2.6.4) PLATFORMS ruby