From fbf95ca3d797ca5accdd7c925c4c4dd12bfbb77c Mon Sep 17 00:00:00 2001 From: Michael Crosby Date: Sun, 23 Jun 2013 17:13:39 -0900 Subject: [PATCH 1/2] Do not expose public port --- Dockerfile | 2 +- partials/statusbar.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3ee4c68dc..95260b4e6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,5 +11,5 @@ RUN apt-get upgrade ADD . /app/ ADD dockerui dockerui -EXPOSE 9000:9000 +EXPOSE 9000 diff --git a/partials/statusbar.html b/partials/statusbar.html index 3c54059b5..fbf6fa27a 100644 --- a/partials/statusbar.html +++ b/partials/statusbar.html @@ -1,3 +1,3 @@ From 81b1ee817498f6e5a932040d3ab66267893cacc5 Mon Sep 17 00:00:00 2001 From: Michael Crosby Date: Sun, 23 Jun 2013 17:32:35 -0900 Subject: [PATCH 2/2] Use sys link in dockerfile for app --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 95260b4e6..90f9cbc49 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ RUN apt-get update RUN apt-get upgrade ADD . /app/ -ADD dockerui dockerui +RUN ln -s /app/dockerui /dockerui EXPOSE 9000