kubernetes/examples/celery-rabbitmq/flower/Dockerfile
Karl Beecher 43ab8188c8 New example: Distributed task queue
Adds an example of using Kubernetes to build a distributed task queue
using Celery along with a RabbitMQ broker and Flower frontend.

Resolves: #1788
2015-03-06 09:15:14 +01:00

16 lines
372 B
Docker

FROM ubuntu:trusty
# update the package repository and install python pip
RUN apt-get -y update && apt-get -y install python-dev python-pip
# install flower
RUN pip install flower
# Make sure we expose port 5555 so that we can connect to it
EXPOSE 5555
ADD run_flower.sh /usr/local/bin/run_flower.sh
# Running flower
CMD ["/bin/bash", "/usr/local/bin/run_flower.sh"]