From 15e72256c3dc534be33bb5d50e3004c5b4d39f08 Mon Sep 17 00:00:00 2001 From: Pradumna Saraf Date: Tue, 17 Sep 2024 18:25:54 +0530 Subject: [PATCH] fix: Dockerfile PORT expose --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 83437dd..b429781 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ FROM golang:1.23-alpine AS builder WORKDIR /build -EXPOSE 8081 COPY go.mod go.sum ./ RUN go mod download COPY . . RUN go build -o /app . -FROM alpine:3.17 +FROM alpine:3.17 AS final +EXPOSE 8080 COPY --from=builder /app /bin/app CMD ["bin/app"] \ No newline at end of file