Rename /docs/tasks/job/work-queue-1/

This commit is contained in:
Andrew Chen
2017-03-16 12:56:44 -07:00
parent 7cc984d66b
commit 4e0ef3cddf
8 changed files with 7 additions and 7 deletions
@@ -0,0 +1,10 @@
# Specify BROKER_URL and QUEUE when running
FROM ubuntu:14.04
RUN apt-get update && \
apt-get install -y curl ca-certificates amqp-tools python \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
COPY ./worker.py /worker.py
CMD /usr/bin/amqp-consume --url=$BROKER_URL -q $QUEUE -c 1 /worker.py