diff --git a/app/Dockerfile b/app/Dockerfile new file mode 100644 index 0000000..fa3e405 --- /dev/null +++ b/app/Dockerfile @@ -0,0 +1,17 @@ +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"] \ No newline at end of file