FROM nginx:stable-alpine RUN apk add --update python3 py3-pip py3-flask certbot certbot-nginx php php-fpm php-opcache bash RUN mkdir origin-33 WORKDIR /root/origin-33 COPY ./startup.sh ./startup.sh RUN chmod +x ./startup.sh COPY ./nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf COPY ./html /usr/share/nginx/html RUN mkdir flask COPY ./flask ./flask RUN chmod +x ./flask/scripts/*.sh EXPOSE 80 443 CMD ["/bin/sh", "-c", "/root/origin-33/startup.sh > /root/log.txt"]