Skip to content

Commit

Permalink
fix: Dockerfile PORT expose
Browse files Browse the repository at this point in the history
  • Loading branch information
Pradumnasaraf committed Sep 17, 2024
1 parent f703dad commit 15e7225
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit 15e7225

Please sign in to comment.