diff --git a/Dockerfile b/Dockerfile index 630f62d..630984b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,9 +38,6 @@ RUN chmod +x /usr/local/bin/addsubdomain COPY bin/mysql_configure /usr/local/bin/mysql_configure RUN chmod +x /usr/local/bin/mysql_configure -# Colocamos dentro el certificado SSL -COPY ssl /etc/nginx/ssl - # ConfiguraciĆ³n de puertos EXPOSE 80 EXPOSE 443 diff --git a/docker-compose.yml b/docker-compose.yml index 664575b..ae87f8d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,3 +12,4 @@ services: - ./data/nginx/sites-available:/etc/nginx/sites-available:Z - ./data/nginx/sites-enabled:/etc/nginx/sites-enabled:Z - ./data/mysql/:/var/lib/mysql/:Z + - ./ssl:/etc/nginx/ssl:Z