summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
l---------.dockerignore1
-rw-r--r--Dockerfile14
2 files changed, 15 insertions, 0 deletions
diff --git a/.dockerignore b/.dockerignore
new file mode 120000
index 0000000..3e4e48b
--- /dev/null
+++ b/.dockerignore
@@ -0,0 +1 @@
+.gitignore \ No newline at end of file
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..cd9ec99
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,14 @@
+# Use an official Python runtime as a parent image
+#FROM python:3.6
+FROM alpine:edge
+RUN apk add --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --no-cache python3 python3-dev py3-pip build-base libffi-dev libgit2-dev bash py3-requests py3-bottle py3-numpy py3-dateutil py3-pygit2 py3-mako py3-scipy
+
+# Set the working directory to /app
+WORKDIR /app
+
+ADD . /app
+
+RUN pip3 install --no-cache-dir protobuf
+
+# Run app.py when the container launches
+CMD ["./unit_tests/main.py"]