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