generated from coop-cloud/example
feat: new assets script
This commit is contained in:
parent
e7898a5eea
commit
6fa8d78593
8
abra.sh
8
abra.sh
@ -1,5 +1,13 @@
|
||||
export ENTRYPOINT_CONF_VERSION=v2
|
||||
|
||||
assets() {
|
||||
export OTP_SECRET=$(cat /run/secrets/otp_secret)
|
||||
export SECRET_KEY_BASE=$(cat /run/secrets/secret_key_base)
|
||||
export DB_PASS=$(cat /run/secrets/db_password)
|
||||
|
||||
RAILS_ENV=production bundle exec rails assets:precompile
|
||||
}
|
||||
|
||||
admin() {
|
||||
export OTP_SECRET=$(cat /run/secrets/otp_secret)
|
||||
export SECRET_KEY_BASE=$(cat /run/secrets/secret_key_base)
|
||||
|
Loading…
x
Reference in New Issue
Block a user