Correct the path in the Dockerfile (#1315)

This commit is contained in:
Peng Li 2019-05-22 22:40:29 +08:00 committed by Knative Prow Robot
parent bedcd15489
commit 95b3f48d7e
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@
FROM golang AS builder
WORKDIR /go/src/github.com/knative/docs/
WORKDIR /go/src/github.com/knative/docs/docs/
ADD . /go/src/github.com/knative/docs/
RUN CGO_ENABLED=0 go build ./serving/samples/telemetry-go/
@ -22,6 +22,6 @@ RUN CGO_ENABLED=0 go build ./serving/samples/telemetry-go/
FROM gcr.io/distroless/base
EXPOSE 8080
COPY --from=builder /go/src/github.com/knative/docs/telemetry-go /sample
COPY --from=builder /go/src/github.com/knative/docs/docs/telemetry-go /sample
ENTRYPOINT ["/sample"]