Skip to content

Commit

Permalink
build(docker): use correct main.go path in docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewhrit committed Mar 12, 2021
1 parent 60a85bf commit a9011b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN apk add --no-cache build-base
RUN go mod download

# Build the binary
RUN go build --ldflags "-s -w" -o bin/spirit -tags sqlite ./
RUN go build --ldflags "-s -w" -o bin/spirit -tags sqlite ./cmd/spirit/main.go

# Run the generated binary
CMD ["/opt/spirit/bin/spirit"]

0 comments on commit a9011b2

Please sign in to comment.