From 9575b991bce4988a1d8b2e3c11993fedcecfec7c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 26 Oct 2023 02:19:26 +0000 Subject: [PATCH] fix: frontend/Dockerfile to reduce vulnerabilities --- frontend/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 58d5fe1..dfc9903 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -5,7 +5,7 @@ RUN yarn install COPY . . RUN yarn build -FROM nginx:1.24-alpine +FROM nginx:1.25.3-alpine COPY --from=builder /usr/src/app/build /usr/share/nginx/html COPY --from=builder /usr/src/app/nginx/default.conf /etc/nginx/conf.d/default.conf EXPOSE 3000