From 007492b77d36ba01e04b27973abea9d316935db8 Mon Sep 17 00:00:00 2001 From: Michael Crosby Date: Mon, 2 Sep 2013 18:55:00 -0700 Subject: [PATCH] Update dockerfile and server --- Dockerfile | 6 +++--- dockerui.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5e452c425..dec150fae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,11 +6,11 @@ MAINTAINER Michael Crosby http://crosbymichael.com RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list RUN apt-get update -RUN apt-get upgrade +RUN apt-get upgrade -y ADD . /app/ -RUN ln -s /app/dockerui /dockerui EXPOSE 9000 +WORKDIR /app/ -ENTRYPOINT ["/dockerui"] +ENTRYPOINT ["./dockerui"] diff --git a/dockerui.go b/dockerui.go index f6ca4f6c3..cfc26f153 100644 --- a/dockerui.go +++ b/dockerui.go @@ -13,7 +13,7 @@ var ( endpoint = flag.String("e", "", "Dockerd endpoint") verbose = flag.Bool("v", false, "Verbose logging") port = flag.String("p", "9000", "Port to serve dockerui") - assets = flag.String("a", "/app", "Path to the assets") + assets = flag.String("a", ".", "Path to the assets") ) type multiHandler struct {