is newer nginx version possible?
acurvers opened this issue · 2 comments
acurvers commented
i see Nginx 1.13 is used, can newer / latest be used or is there a reason for 1.13?
thanks in advance!
pavelsevcik commented
To build image with new version of nginx you can just bump number in Dockerfile to version you want
FROM nginx:1.21.6
Or you can
- adopt
ARGinDockerfileas per FIX: BASE_IMAGE as ARG - and then specify nginx version as argument in build command as
docker build --build-arg BASE_IMAGE=nginx:1.21.6 .