mirror of
https://git.cloudron.io/cloudron/mastodon-app.git
synced 2024-11-28 19:21:12 +00:00
do not mix bundle config and bundle --without usage
they both write a config file and overwrite each other. there is a --global and --local flag as well to determine where bundle config should be generated.
This commit is contained in:
parent
459169d30b
commit
f374bb3362
1 changed files with 4 additions and 2 deletions
|
@ -20,8 +20,10 @@ ENV NODE_ENV production
|
|||
ARG VERSION=3.4.4
|
||||
|
||||
RUN curl -L https://github.com/tootsuite/mastodon/archive/v${VERSION}.tar.gz | tar -xz --strip-components 1 -f - && \
|
||||
bundle config set deployment 'true' && \
|
||||
bundle install --without test development && \
|
||||
bundle config --local set deployment 'true' && \
|
||||
bundle config --local set without 'development test' && \
|
||||
bundle config --local set silence_root_warning true && \
|
||||
bundle install && \
|
||||
yarn install --pure-lockfile
|
||||
|
||||
# secret keys are not built into assets, so precompiling is safe to do here
|
||||
|
|
Loading…
Reference in a new issue