FROM debian:stable RUN apt update -y RUN apt upgrade -y RUN apt update -y run apt install -y procps run apt install -y nginx-full COPY nginx/nginx.sh /root/ RUN chmod a+x /root/nginx.sh CMD ['/usr/bin/nginx',] entrypoint ['/bin/bash','/root/nginx.sh']