Skip to content

Commit

Permalink
Fix: rename paths in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky committed Sep 29, 2021
1 parent dcae0ac commit 5568e43
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ ENV GOOS=linux
RUN apk --no-cache add ca-certificates
RUN apk add --update git

RUN mkdir -p $GOPATH/src/github.com/aopoltorzhicky/watch_tower/
RUN mkdir -p $GOPATH/src/github.com/atomex-protocol/watch_tower/

COPY ./go.* $GOPATH/src/github.com/aopoltorzhicky/watch_tower/
WORKDIR $GOPATH/src/github.com/aopoltorzhicky/watch_tower/
COPY ./go.* $GOPATH/src/github.com/atomex-protocol/watch_tower/
WORKDIR $GOPATH/src/github.com/atomex-protocol/watch_tower/
RUN go mod download

COPY cmd/watch_tower cmd/watch_tower
COPY internal internal

WORKDIR $GOPATH/src/github.com/aopoltorzhicky/watch_tower/cmd/watch_tower/
WORKDIR $GOPATH/src/github.com/atomex-protocol/watch_tower/cmd/watch_tower/
RUN go build -a -installsuffix cgo -o /go/bin/watch_tower .

# ---------------------------------------------------------------------
Expand Down

0 comments on commit 5568e43

Please sign in to comment.