Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
eiqnepm committed Feb 3, 2024
1 parent 346374d commit aabd2db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ WORKDIR /usr/src/app
COPY go.mod ./
COPY cmd ./cmd

RUN go mod download

RUN go build -ldflags="-s -w" -o /usr/local/bin/app cmd/portcheck/main.go

FROM alpine:3.17
Expand Down

0 comments on commit aabd2db

Please sign in to comment.