From dab649c143da5f806d1ba5ecb7e70aa1732a6ea2 Mon Sep 17 00:00:00 2001 From: Matthew Fisher Date: Fri, 16 May 2014 13:33:58 -0700 Subject: [PATCH] update project to reflect deis/deis#967 --- Dockerfile | 1 - Procfile | 1 + start | 14 -------------- 3 files changed, 1 insertion(+), 15 deletions(-) create mode 100644 Procfile delete mode 100755 start diff --git a/Dockerfile b/Dockerfile index a2f69ee..8e8393e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,5 +4,4 @@ MAINTAINER OpDemand ADD . /app WORKDIR /app -RUN mv start /bin EXPOSE 5000 diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..766d95f --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: python -m SimpleHTTPServer $PORT diff --git a/start b/start deleted file mode 100755 index aa66b46..0000000 --- a/start +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -cd /app - -case "$1" in - web) - command="python -m SimpleHTTPServer $PORT" - ;; - *) - command="$@" - ;; -esac - -exec $command