enable bundler deployment mode
This commit is contained in:
parent
8baed7389c
commit
b8737c2583
@ -12,6 +12,9 @@ EOT
|
||||
|
||||
FROM base AS build
|
||||
|
||||
ENV BUNDLE_DEPLOYMENT=true \
|
||||
BUNDLE_WITHOUT="development test"
|
||||
|
||||
RUN <<EOT
|
||||
apk add musl-dev gcc make
|
||||
EOT
|
||||
@ -19,7 +22,6 @@ EOT
|
||||
COPY Gemfile* .
|
||||
|
||||
RUN <<EOT
|
||||
bundle config set --local without development
|
||||
bundle install
|
||||
EOT
|
||||
|
||||
|
@ -12,6 +12,9 @@ EOT
|
||||
|
||||
FROM base AS build
|
||||
|
||||
ENV BUNDLE_DEPLOYMENT=true \
|
||||
BUNDLE_WITHOUT="development test"
|
||||
|
||||
RUN <<EOT
|
||||
apt-get install --yes gcc make
|
||||
EOT
|
||||
@ -19,7 +22,6 @@ EOT
|
||||
COPY Gemfile* .
|
||||
|
||||
RUN <<EOT
|
||||
bundle config set --local without development
|
||||
bundle install
|
||||
EOT
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user