Include invoke tasks in test image
This commit is contained in:
parent
810728518c
commit
04cef9e2d3
|
|
@ -4,6 +4,7 @@ FROM registry.gitlab.com/turniere/turniere-backend/production/commits:$base_comm
|
||||||
WORKDIR /app
|
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 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
|
RUN bundle config set with 'development test' && bundle install
|
||||||
|
COPY tasks.py /app/tasks.py
|
||||||
COPY spec /app/spec
|
COPY spec /app/spec
|
||||||
COPY .rspec /app/.rspec
|
COPY .rspec /app/.rspec
|
||||||
ENV RAILS_ENV test
|
ENV RAILS_ENV test
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue