Skip to content

Commit

Permalink
fix(dockerfile): fix dockerfile to use official WORKDIR
Browse files Browse the repository at this point in the history
Signed-off-by: shubham <[email protected]>
  • Loading branch information
shubham14bajpai authored and kmova committed Nov 10, 2020
1 parent 3817c29 commit 434b07c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/exporter/exporter.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ENV GO111MODULE=on \
DEBIAN_FRONTEND=noninteractive \
PATH="/root/go/bin:${PATH}"

WORKDIR /go/src/github.com/shubham14bajpai/exporter
WORKDIR /go/src/github.com/openebs/openebs-exporter

RUN apt-get update && apt-get install -y make git

Expand All @@ -54,7 +54,7 @@ LABEL org.label-schema.vcs-url=$DBUILD_REPO_URL
LABEL org.label-schema.url=$DBUILD_SITE_URL

# copy the latest binary
COPY --from=build /go/src/github.com/shubham14bajpai/exporter/bin/exporter/exporter /usr/local/bin/maya-exporter
COPY --from=build /go/src/github.com/openebs/openebs-exporter/bin/exporter/exporter /usr/local/bin/maya-exporter

CMD maya-exporter
EXPOSE 9500

0 comments on commit 434b07c

Please sign in to comment.