Ngnix Spf daddy dockerfile :)

# Use the Python3.7.2 image
FROM nginx

# Set the working directory to /app
WORKDIR /app



RUN apt-get update
RUN apt-get upgrade
RUN apt-get -y install curl
RUN apt-get -y install libncurses5-dev libncursesw5-dev libncurses5


# Copy the current directory contents into the container at /app 
ADD ./spf /app/spf
ADD ./help.txt /app/help.txt

RUN mv /app/spf /bin/spf
RUN mv /app/help.txt /bin/help.txt
RUN chmod +x /bin/spf

RUN mkdir /app/html
ADD ./html/index.html /app/html/index.html

RUN rm /etc/nginx/conf.d/default.conf
COPY ./front_nginx.conf /etc/nginx/conf.d/front_nginx.conf
RUN service nginx restart