Skip to content

Commit 15e7225

Browse files
committed
fix: Dockerfile PORT expose
1 parent f703dad commit 15e7225

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
FROM golang:1.23-alpine AS builder
22
WORKDIR /build
3-
EXPOSE 8081
43
COPY go.mod go.sum ./
54
RUN go mod download
65
COPY . .
76
RUN go build -o /app .
87

9-
FROM alpine:3.17
8+
FROM alpine:3.17 AS final
9+
EXPOSE 8080
1010
COPY --from=builder /app /bin/app
1111
CMD ["bin/app"]

0 commit comments

Comments
 (0)