Fix backend test image contents
This commit is contained in:
parent
04cef9e2d3
commit
f2c5e42a91
|
|
@ -1,6 +1,9 @@
|
|||
.git
|
||||
tmp/**
|
||||
coverage/**
|
||||
db/*.sqlite3
|
||||
db/*.sqlite3-*
|
||||
db/*.sqlite3.*
|
||||
docker/**
|
||||
.gitignore
|
||||
.hound.yml
|
||||
|
|
|
|||
|
|
@ -5,13 +5,7 @@ RUN apt-get update -qq && apt-get install -y openssl git build-essential libpq-d
|
|||
WORKDIR /app
|
||||
COPY Gemfile* /app/
|
||||
RUN gem install bundler:2.3.13 && bundle config set deployment 'true' && bundle install
|
||||
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/
|
||||
COPY . /app
|
||||
# Duplicate production environment to beta environment
|
||||
COPY config/environments/production.rb config/environments/beta.rb
|
||||
ENV RAILS_ENV production
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ WORKDIR /app
|
|||
RUN apt-get update -qq && apt-get install -y python3 python3-pip && apt-get clean && python3 -m pip install --no-cache-dir invoke
|
||||
RUN bundle config set with 'development test' && bundle install
|
||||
COPY tasks.py /app/tasks.py
|
||||
COPY e2e /app/e2e
|
||||
COPY spec /app/spec
|
||||
COPY .rspec /app/.rspec
|
||||
ENV RAILS_ENV test
|
||||
|
|
|
|||
Loading…
Reference in New Issue