Skip to content

Commit

Permalink
fix: examples/demo/server/Dockerfile to reduce vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
snyk-bot committed Jul 29, 2023
1 parent 4d9a520 commit b655fbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/demo/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ WORKDIR /app/
COPY . .
RUN go env -w GOPROXY=direct
RUN CGO_ENABLED=0 go build -o main main.go
FROM alpine:3.15
FROM alpine:3.16
COPY --from=build /app/main /app/main
CMD ["/app/main"]

0 comments on commit b655fbe

Please sign in to comment.