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 3c15060 commit d059e46
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ RUN go build -ldflags="-s -w" -o /usr/local/bin/app cmd/portcheck/main.go

FROM alpine:3.17

RUN apk update
RUN apk add --no-cache docker-cli

COPY --from=build /usr/local/bin/app /app

CMD ["/app"]

0 comments on commit d059e46

Please sign in to comment.