summaryrefslogtreecommitdiffstats
path: root/tools/pharos-dashboard/worker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pharos-dashboard/worker/Dockerfile')
-rw-r--r--tools/pharos-dashboard/worker/Dockerfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/pharos-dashboard/worker/Dockerfile b/tools/pharos-dashboard/worker/Dockerfile
new file mode 100644
index 00000000..86395e01
--- /dev/null
+++ b/tools/pharos-dashboard/worker/Dockerfile
@@ -0,0 +1,8 @@
+FROM python:3.5
+ENV PYTHONUNBUFFERED 1
+RUN mkdir /config
+ADD ./requirements.txt /config/
+RUN pip install -r /config/requirements.txt
+RUN useradd -ms /bin/bash celery
+USER celery
+WORKDIR /src