trying to commit with my voyager is too complicated at the moment
This commit is contained in:
parent
778e1a9056
commit
4a60057513
10 changed files with 130 additions and 62 deletions
|
|
@ -5,13 +5,12 @@ RUN apk add nginx openssl bash
|
|||
|
||||
RUN mkdir -p /run/nginx /etc/nginx/ssl
|
||||
|
||||
RUN rm -rf /var/www/html;
|
||||
COPY conf/nginx.conf /etc/nginx/nginx.conf
|
||||
COPY tools/generate_ssl_certificate.sh /usr/bin/generate_ssl_certificate
|
||||
|
||||
RUN chmod +x /usr/bin/generate_ssl_certificate
|
||||
|
||||
RUN /usr/bin/generate_ssl_certificate
|
||||
|
||||
EXPOSE 443
|
||||
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
CMD ["generate_ssl_certificate"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue