http server in docker image

This commit is contained in:
boyska 2018-09-30 11:07:32 +02:00
szülő aeba6dba24
commit dcc3b2a562

Fájl megtekintése

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