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