mirror of https://github.com/portainer/portainer
Update dockerfile and server
parent
3ac9776585
commit
007492b77d
|
@ -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"]
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue