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