diff --git a/nginx/Dockerfile b/nginx/Dockerfile index 9ee0bad..483b3d6 100644 --- a/nginx/Dockerfile +++ b/nginx/Dockerfile @@ -1 +1,8 @@ -FROM nginx:1.25.4-alpine +FROM nginx:1.27.2-alpine + +# Upgrade the OS and update all packages, including NGINX dependencies +RUN apk update && \ + apk upgrade --no-cache && \ + apk add --no-cache bash + +CMD ["nginx", "-g", "daemon off;"]