2 Commits
Author SHA1 Message Date
mats f8c1f07989 log own ip
Build and Publish / BuildAndDeploy (push) Successful in 1m46s
2024-11-09 19:51:31 +01:00
mats 03c21123ec protos is less changed 2024-11-09 19:48:25 +01:00
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -5,8 +5,9 @@ WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY *.go ./
COPY proto ./proto
COPY *.go ./
RUN CGO_ENABLED=0 GOOS=linux go build -o /go-cart-actor
FROM gcr.io/distroless/base-debian11
+1
View File
@@ -72,6 +72,7 @@ type SyncedPool struct {
func NewSyncedPool(local *GrainLocalPool, hostname string, d Discovery) (*SyncedPool, error) {
listen := fmt.Sprintf("%s:1338", hostname)
l, err := net.Listen("tcp", listen)
log.Printf("Listening on %s", listen)
if err != nil {
return nil, err
}