nginx.yml 253 B

1234567891011
  1. FROM debian:stable
  2. RUN apt update -y
  3. RUN apt upgrade -y
  4. RUN apt update -y
  5. run apt install -y procps
  6. run apt install -y nginx-full
  7. COPY nginx/nginx.sh /root/
  8. RUN chmod a+x /root/nginx.sh
  9. CMD ['/usr/bin/nginx',]
  10. entrypoint ['/bin/bash','/root/nginx.sh']