Fix backend test image contents
This commit is contained in:
parent
04cef9e2d3
commit
f2c5e42a91
|
|
@ -1,6 +1,9 @@
|
||||||
.git
|
.git
|
||||||
tmp/**
|
tmp/**
|
||||||
coverage/**
|
coverage/**
|
||||||
|
db/*.sqlite3
|
||||||
|
db/*.sqlite3-*
|
||||||
|
db/*.sqlite3.*
|
||||||
docker/**
|
docker/**
|
||||||
.gitignore
|
.gitignore
|
||||||
.hound.yml
|
.hound.yml
|
||||||
|
|
|
||||||
|
|
@ -5,13 +5,7 @@ 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 /app/app
|
COPY . /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
|
||||||
|
|
|
||||||
|
|
@ -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 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
|
RUN bundle config set with 'development test' && bundle install
|
||||||
COPY tasks.py /app/tasks.py
|
COPY tasks.py /app/tasks.py
|
||||||
|
COPY e2e /app/e2e
|
||||||
COPY spec /app/spec
|
COPY spec /app/spec
|
||||||
COPY .rspec /app/.rspec
|
COPY .rspec /app/.rspec
|
||||||
ENV RAILS_ENV test
|
ENV RAILS_ENV test
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue