Add app/Dockerfile
This commit is contained in:
parent
90862a69dc
commit
ee6f7f0757
|
@ -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"]
|
Loading…
Reference in New Issue