Skip to content

Commit

Permalink
make build / Containerfile-path
Browse files Browse the repository at this point in the history
  • Loading branch information
led0nk committed Apr 19, 2024
1 parent 872e425 commit 747b7b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN make build

FROM scratch

COPY --from=0 cmd/server/guestbook /guestbook
COPY --from=0 bin/guestbook /guestbook

EXPOSE 8080

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ gotidy:

.PHONY: build
build:
go build -o bin/main cmd/server/main.go
go build -o bin/guestbook cmd/server/main.go

.PHONY: run
run: gofmt build
Expand Down

0 comments on commit 747b7b0

Please sign in to comment.