From ee6f7f07571e102aa0fb7f81441a5fcad3ddd00d Mon Sep 17 00:00:00 2001 From: akamai Date: Tue, 19 Mar 2024 12:41:07 +0000 Subject: [PATCH] Add app/Dockerfile --- app/Dockerfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 app/Dockerfile 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