aboutsummaryrefslogtreecommitdiffstats
path: root/sdv/docker/sdvstate/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'sdv/docker/sdvstate/Dockerfile')
-rw-r--r--sdv/docker/sdvstate/Dockerfile25
1 files changed, 25 insertions, 0 deletions
diff --git a/sdv/docker/sdvstate/Dockerfile b/sdv/docker/sdvstate/Dockerfile
new file mode 100644
index 0000000..7d18e7a
--- /dev/null
+++ b/sdv/docker/sdvstate/Dockerfile
@@ -0,0 +1,25 @@
+FROM python:3.8-slim-buster
+
+MAINTAINER Parth Yadav <parthyadav3105@gmail.com>
+
+WORKDIR /state/
+
+COPY requirements.txt /state/requirements.txt
+RUN pip install -r requirements.txt
+RUN rm requirements.txt
+
+COPY core/ /state/core/
+COPY settings/ /state/settings/
+COPY tools/ /state/tools/
+COPY validator/ /state/validator/
+COPY state /state/
+COPY server /state/
+
+ENV RESULTS_PATH /tmp/
+ENV RESULTS_FILENAME results.json
+ENV LOG_VERBOSITY info
+ENV SAVE_RESULTS_LOCALLY True
+
+WORKDIR /data/
+
+CMD [ "python", "/state/server" ]