forked from boyska/feedpanel
http server in docker image
This commit is contained in:
parent
aeba6dba24
commit
dcc3b2a562
1 changed files with 2 additions and 1 deletions
|
@ -7,4 +7,5 @@ RUN rm -rf /panel/vendor/ && go get ./... && CGO_ENABLED=0 GOOS=linux go install
|
||||||
FROM scratch
|
FROM scratch
|
||||||
WORKDIR /usr/bin/
|
WORKDIR /usr/bin/
|
||||||
COPY --from=builder /go/bin/panelcli /usr/bin/
|
COPY --from=builder /go/bin/panelcli /usr/bin/
|
||||||
ENTRYPOINT ["./panelcli"]
|
COPY --from=builder /go/bin/userpanel /usr/bin/
|
||||||
|
ENTRYPOINT ["./userpanel"]
|
||||||
|
|
Loading…
Reference in a new issue