aboutsummaryrefslogtreecommitdiff
path: root/build/Dockerfile
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2017-02-07 20:24:29 -0700
committerCody Hiar <codyfh@gmail.com>2017-02-07 20:24:29 -0700
commit58b4fb228c3f7583386ded86505cb10f2a870129 (patch)
treee75a46f789de741ac3fbf92ce797ad39809fc9c0 /build/Dockerfile
Just add stuff
Diffstat (limited to 'build/Dockerfile')
-rw-r--r--build/Dockerfile21
1 files changed, 21 insertions, 0 deletions
diff --git a/build/Dockerfile b/build/Dockerfile
new file mode 100644
index 0000000..f9e25a8
--- /dev/null
+++ b/build/Dockerfile
@@ -0,0 +1,21 @@
+FROM ubuntu:16.04
+MAINTAINER Cody Hiar <codyfh@gmail.com>
+
+# Set a term for terminal inside the container, can't clear without it
+ENV TERM xterm-256color
+
+# Update and install
+RUN apt-get update && apt-get install -y \
+ htop \
+ python-dev \
+ python-pip
+
+# Add the project requirements
+ADD requirements.txt /opt/requirements.txt
+
+# The code should be symlinked to this directory
+WORKDIR /app
+
+# Create the entry script
+ADD entry.sh /opt/
+RUN chmod 755 /opt/entry.sh