summaryrefslogtreecommitdiffstats
path: root/dashboard/worker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'dashboard/worker/Dockerfile')
-rw-r--r--dashboard/worker/Dockerfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/dashboard/worker/Dockerfile b/dashboard/worker/Dockerfile
new file mode 100644
index 0000000..c1e8aff
--- /dev/null
+++ b/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 /pharos_dashboard/src