turniere-backend/docker/test/Dockerfile

6 lines
237 B
Docker

# Build development container locally first with following tag
FROM turniere-backend/development:local
WORKDIR /app
RUN bundle install --deployment --with test
ENV RAILS_ENV test
CMD bundle exec rails db:migrate && bundle exec rails spec