mirror of https://github.com/peter4431/rq.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
365 B
Docker
12 lines
365 B
Docker
FROM ubuntu:latest
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -y redis-server python3-pip
|
|
|
|
COPY . /tmp/rq
|
|
WORKDIR /tmp/rq
|
|
RUN pip3 install -r /tmp/rq/requirements.txt -r /tmp/rq/dev-requirements.txt
|
|
RUN python3 /tmp/rq/setup.py build && python3 /tmp/rq/setup.py install
|
|
|
|
CMD redis-server& RUN_SLOW_TESTS_TOO=1 pytest /tmp/rq/tests/ --durations=5 -v --log-cli-level 10
|