From 60d3e0c890b9c12ae9d031c47fdfaf8cc20dc742 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 1 Jun 2023 19:14:53 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE317-CURL-5561309 - https://snyk.io/vuln/SNYK-ALPINE317-CURL-5561315 - https://snyk.io/vuln/SNYK-ALPINE317-CURL-5561316 - https://snyk.io/vuln/SNYK-ALPINE317-OPENSSL-5438697 - https://snyk.io/vuln/SNYK-ALPINE317-OPENSSL-5438697 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f617d7912..be238fe53 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ COPY . . RUN npm run build # Production stage -FROM nginx:stable-alpine as production-stage +FROM nginx:mainline-alpine as production-stage COPY --from=build-stage /app/dist /usr/share/nginx/html EXPOSE 80 CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file