mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-30 14:13:43 +01:00
f41fcdeeb4
update makefile update per comments update document
24 lines
453 B
Docker
24 lines
453 B
Docker
FROM golang:1.7.3
|
|
|
|
MAINTAINER jiangd@vmware.com
|
|
|
|
COPY src/. /go/src/github.com/vmware/harbor/src
|
|
WORKDIR /go/src/github.com/vmware/harbor/src/ui
|
|
|
|
RUN go build -v -a -o /go/bin/harbor_ui
|
|
|
|
COPY src/ui/views /go/bin/views
|
|
COPY src/ui/static /go/bin/static
|
|
COPY src/favicon.ico /go/bin/favicon.ico
|
|
|
|
RUN mkdir /go/bin/harbor/
|
|
COPY VERSION /go/bin/harbor/VERSION
|
|
|
|
RUN chmod u+x /go/bin/harbor_ui
|
|
|
|
WORKDIR /go/bin/
|
|
ENTRYPOINT ["/go/bin/harbor_ui"]
|
|
|
|
EXPOSE 80
|
|
|