Include invoke tasks in test image

This commit is contained in:
Daniel Schädler 2026-04-13 15:49:00 +02:00
parent 810728518c
commit 04cef9e2d3
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@ FROM registry.gitlab.com/turniere/turniere-backend/production/commits:$base_comm
WORKDIR /app
RUN apt-get update -qq && apt-get install -y python3 python3-pip && apt-get clean && python3 -m pip install --no-cache-dir invoke
RUN bundle config set with 'development test' && bundle install
COPY tasks.py /app/tasks.py
COPY spec /app/spec
COPY .rspec /app/.rspec
ENV RAILS_ENV test