Update dockerfile and server

pull/2/head
Michael Crosby 2013-09-02 18:55:00 -07:00
parent 3ac9776585
commit 007492b77d
2 changed files with 4 additions and 4 deletions

View File

@ -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"]

View File

@ -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 {