diff --git a/tests.mk b/tests.mk index 2ad8b345d..8754486df 100644 --- a/tests.mk +++ b/tests.mk @@ -99,6 +99,10 @@ deploy-test-dockerfile-noexpose: @echo deploying dockerfile-noexpose app... cd tests && ./test_deploy ./apps/dockerfile-noexpose dokku.me +deploy-test-dockerfile-procfile: + @echo deploying dockerfile-procfile app... + cd tests && ./test_deploy ./apps/dockerfile-procfile dokku.me + deploy-test-gitsubmodules: @echo deploying gitsubmodules app... cd tests && ./test_deploy ./apps/gitsubmodules dokku.me @@ -154,6 +158,7 @@ deploy-tests: @$(QUIET) $(MAKE) deploy-test-clojure @$(QUIET) $(MAKE) deploy-test-dockerfile @$(QUIET) $(MAKE) deploy-test-dockerfile-noexpose + @$(QUIET) $(MAKE) deploy-test-dockerfile-procfile @$(QUIET) $(MAKE) deploy-test-gitsubmodules @$(QUIET) $(MAKE) deploy-test-go @$(QUIET) $(MAKE) deploy-test-java diff --git a/tests/apps/dockerfile-procfile/Dockerfile b/tests/apps/dockerfile-procfile/Dockerfile index cd47658a5..fa82185d5 100644 --- a/tests/apps/dockerfile-procfile/Dockerfile +++ b/tests/apps/dockerfile-procfile/Dockerfile @@ -1,14 +1,9 @@ -FROM ubuntu:trusty -ENV LC_ALL C -ENV DEBIAN_FRONTEND noninteractive -ENV DEBCONF_NONINTERACTIVE_SEEN true +FROM node:4 + EXPOSE 3001/udp EXPOSE 3000/tcp EXPOSE 3003 -RUN apt-get install -y software-properties-common && add-apt-repository ppa:chris-lea/node.js && apt-get update -RUN apt-get install -y build-essential curl postgresql-client-9.3 nodejs git - COPY . /app WORKDIR /app RUN npm install