FROM postfix
RUN apt update -y
RUN apt upgrade -y
RUN apt update -y
RUN apt install -y procps
RUN apt install -y nginx-full
COPY proxy.conf /etc/nginx/conf.d
COPY fixssl.conf /etc/nginx/conf.d
COPY nginx.conf /etc/nginx
COPY nginx.sh /root/
RUN chmod a+x /root/nginx.sh
CMD ['/usr/bin/nginx',]
ENTRYPOINT ['/bin/bash','/root/nginx.sh']

