Include test dependencies in test docker container
This commit is contained in:
parent
9b929ce143
commit
ae04eb0a87
|
|
@ -1,6 +1,6 @@
|
||||||
# Build development container locally first with following tag
|
# Build development container locally first with following tag
|
||||||
FROM registry.gitlab.com/turniere/turniere-backend/development
|
FROM registry.gitlab.com/turniere/turniere-backend/development
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN bundle install --deployment
|
RUN bundle install --deployment --with test
|
||||||
ENV RAILS_ENV test
|
ENV RAILS_ENV test
|
||||||
CMD bundle exec rails db:migrate && bundle exec rails spec
|
CMD bundle exec rails db:migrate && bundle exec rails spec
|
||||||
Loading…
Reference in New Issue