Include test dependencies in test docker container

This commit is contained in:
Daniel Schädler 2019-06-20 20:43:19 +02:00
parent 9b929ce143
commit ae04eb0a87
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
# Build development container locally first with following tag
FROM registry.gitlab.com/turniere/turniere-backend/development
WORKDIR /app
RUN bundle install --deployment
RUN bundle install --deployment --with test
ENV RAILS_ENV test
CMD bundle exec rails db:migrate && bundle exec rails spec