Trim production Docker context
This commit is contained in:
parent
f2c5e42a91
commit
1ce15adaa5
|
|
@ -5,7 +5,13 @@ RUN apt-get update -qq && apt-get install -y openssl git build-essential libpq-d
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY Gemfile* /app/
|
COPY Gemfile* /app/
|
||||||
RUN gem install bundler:2.3.13 && bundle config set deployment 'true' && bundle install
|
RUN gem install bundler:2.3.13 && bundle config set deployment 'true' && bundle install
|
||||||
COPY . /app
|
COPY app /app/app
|
||||||
|
COPY bin /app/bin
|
||||||
|
COPY config /app/config
|
||||||
|
COPY db /app/db
|
||||||
|
COPY public /app/public
|
||||||
|
COPY script /app/script
|
||||||
|
COPY config.ru Rakefile /app/
|
||||||
# Duplicate production environment to beta environment
|
# Duplicate production environment to beta environment
|
||||||
COPY config/environments/production.rb config/environments/beta.rb
|
COPY config/environments/production.rb config/environments/beta.rb
|
||||||
ENV RAILS_ENV production
|
ENV RAILS_ENV production
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue