From ae04eb0a871e8b259becc7852c14d249d2aae5c2 Mon Sep 17 00:00:00 2001 From: Malaber <32635600+Malaber@users.noreply.github.com> Date: Thu, 20 Jun 2019 20:43:19 +0200 Subject: [PATCH] Include test dependencies in test docker container --- docker/test/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/test/Dockerfile b/docker/test/Dockerfile index a712a24..e3a2b0f 100644 --- a/docker/test/Dockerfile +++ b/docker/test/Dockerfile @@ -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 \ No newline at end of file