From 58b4fb228c3f7583386ded86505cb10f2a870129 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Tue, 7 Feb 2017 20:24:29 -0700 Subject: Just add stuff --- build/Dockerfile | 21 +++++++++++++++++++++ build/entry.sh | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 build/Dockerfile create mode 100644 build/entry.sh (limited to 'build') 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 + +# 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 diff --git a/build/entry.sh b/build/entry.sh new file mode 100644 index 0000000..f570d44 --- /dev/null +++ b/build/entry.sh @@ -0,0 +1,2 @@ +#!/bin/bash +while true; do echo hi; sleep 1; done; -- cgit v1.2.3