Browse Source

http server in docker image

boyska 6 years ago
parent
commit
dcc3b2a562
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Dockerfile

+ 2 - 1
Dockerfile

@@ -7,4 +7,5 @@ RUN rm -rf /panel/vendor/ && go get ./... && CGO_ENABLED=0 GOOS=linux go install
 FROM scratch
 WORKDIR /usr/bin/
 COPY --from=builder /go/bin/panelcli /usr/bin/
-ENTRYPOINT ["./panelcli"]  
+COPY --from=builder /go/bin/userpanel /usr/bin/
+ENTRYPOINT ["./userpanel"]