fix
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
FROM nginx
|
||||
RUN apt-get update
|
||||
RUN apt-get install certbot --yes
|
||||
RUN apt-get install python3-certbot-nginx --yes
|
||||
RUN mkdir /etc/allinvest
|
||||
COPY ./nginx-prod.conf /etc/nginx/nginx.conf
|
||||
COPY ./privkey.pem /etc/nginx/privkey.pem
|
||||
RUN apt-get install python3-certbot-nginx python3-pip --yes
|
||||
RUN pip3 install --break-system-packages requests minio
|
||||
COPY ./config /etc/nginx
|
||||
COPY ./fullchain.pem /etc/nginx/fullchain.pem
|
||||
COPY ./allinvest/privkey.pem /etc/allinvest/privkey.pem
|
||||
COPY ./allinvest/fullchain.pem /etc/allinvest/fullchain.pem
|
||||
COPY ./privkey.pem /etc/nginx/privkey.pem
|
||||
COPY prepare.py prepare.py
|
||||
COPY run.sh run.sh
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
RUN chmod 777 run.sh
|
||||
ENTRYPOINT ["./run.sh"]
|
Reference in New Issue
Block a user