Skip to content

Commit

Permalink
Add build directory
Browse files Browse the repository at this point in the history
  • Loading branch information
ravanbod committed Jun 29, 2024
1 parent ff7995d commit 743b48c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*.dll
*.so
*.dylib
build/

# Test binary, built with `go test -c`
*.test
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ COPY go.mod go.sum ./
RUN go mod download

COPY . .
RUN go build -o dockerwatcher cmd/dockerwatcher/main.go
RUN go build -o build/dockerwatcher cmd/dockerwatcher/main.go

CMD ["./dockerwatcher"]
CMD ["./build/dockerwatcher"]

0 comments on commit 743b48c

Please sign in to comment.