mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-25 18:28:07 +02:00
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
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ COPY . .
|
|||
|
||||
RUN go build -o server .
|
||||
|
||||
FROM alpine:3.12
|
||||
FROM alpine:3.14
|
||||
EXPOSE 8000
|
||||
COPY --from=build /go/src/github.com/org/repo/server /server
|
||||
CMD ["/server"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue