Dockerfile 337 B

1234567891011121314
  1. FROM postfix
  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 proxy.conf /etc/nginx/conf.d
  8. COPY fixssl.conf /etc/nginx/conf.d
  9. COPY nginx.conf /etc/nginx
  10. COPY nginx.sh /root/
  11. RUN chmod a+x /root/nginx.sh
  12. CMD ['/usr/bin/nginx',]
  13. ENTRYPOINT ['/bin/bash','/root/nginx.sh']