9 lines
337 B
Docker
9 lines
337 B
Docker
FROM nginx
|
|
RUN apt-get update
|
|
RUN apt-get install certbot --yes
|
|
RUN mkdir /etc/allinvest
|
|
COPY ./nginx-prod.conf /etc/nginx/nginx.conf
|
|
COPY ./privkey.pem /etc/nginx/privkey.pem
|
|
COPY ./fullchain.pem /etc/nginx/fullchain.pem
|
|
COPY ./allinvest/privkey.pem /etc/allinvest/privkey.pem
|
|
COPY ./allinvest/fullchain.pem /etc/allinvest/fullchain.pem |