Update Dockerfile
Changes included in this PR nginx-golang-mysql/backend/Dockerfile I recommend upgrading to alpine:3.14, as this image has only 0 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected. Some of the most important vulnerabilities in your base image include: Severity Priority Score / 1000 Issue Exploit Maturity high severity 400 Improper Handling of Exceptional Conditions SNYK-ALPINE312-BUSYBOX-1089799 No Known Exploit high severity 400 Improper Handling of Exceptional Conditions SNYK-ALPINE312-BUSYBOX-1089799 No Known Exploit
This commit is contained in:
parent
6531426a96
commit
f51a8f8228
@ -4,7 +4,7 @@ COPY . .
|
|||||||
|
|
||||||
RUN go build -o server .
|
RUN go build -o server .
|
||||||
|
|
||||||
FROM alpine:3.12
|
FROM alpine:3.14
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
COPY --from=build /go/src/github.com/org/repo/server /server
|
COPY --from=build /go/src/github.com/org/repo/server /server
|
||||||
CMD ["/server"]
|
CMD ["/server"]
|
||||||
|
Loading…
Reference in New Issue
Block a user