diff --git a/docker/test/Dockerfile b/docker/test/Dockerfile new file mode 100644 index 0000000..a712a24 --- /dev/null +++ b/docker/test/Dockerfile @@ -0,0 +1,6 @@ +# Build development container locally first with following tag +FROM registry.gitlab.com/turniere/turniere-backend/development +WORKDIR /app +RUN bundle install --deployment +ENV RAILS_ENV test +CMD bundle exec rails db:migrate && bundle exec rails spec \ No newline at end of file