Skip to content

Commit ad200f2

Browse files
committed
fix(dockerfile): updating dockerfile
1 parent b006c67 commit ad200f2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ FROM golang:1.21 as build
22

33
WORKDIR /app
44

5-
COPY . /
5+
COPY . /app
66

77
RUN go mod download
8-
RUN go build -o /bin/realtime cmd/main.go
8+
RUN go build -o /app/bin/realtime /app/cmd/main.go
99

1010
FROM gcr.io/distroless/base-debian10
1111

1212
WORKDIR /
1313

14-
COPY --from=build /bin/realtime .
14+
COPY --from=build /app/bin/realtime .
1515

1616
EXPOSE 8080
1717

0 commit comments

Comments
 (0)