Skip to content

Commit 87c2d2d

Browse files
committed
Log runtime path
1 parent 5463f01 commit 87c2d2d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

DockerfileGo

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ FROM golang:1.22-alpine3.19
1313
COPY --from=0 /openapi/go-server ./go-server
1414

1515
WORKDIR /go/go-server
16-
RUN go mod tidy
16+
17+
CMD echo "Runtime path: $(pwd)"
1718

1819
EXPOSE 8080
19-
CMD ["go", "run", "/go/go-server/main.go"]
20+
#RUN go mod tidy
21+
#CMD ["go", "run", "/go/go-server/main.go"]
22+
23+
RUN make run

0 commit comments

Comments
 (0)