From 36c00e3d2d394ba2d67aa9a2a78379cc7e72ed5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tiago=5FGon=C3=A7alves?= <89362354+James-jamames@users.noreply.github.com> Date: Thu, 19 Oct 2023 18:12:44 +0000 Subject: [PATCH 1/2] + docker file update --- docker/production/Dockerfile | 3 --- 1 file changed, 3 deletions(-) diff --git a/docker/production/Dockerfile b/docker/production/Dockerfile index 057fdea..d0ba318 100644 --- a/docker/production/Dockerfile +++ b/docker/production/Dockerfile @@ -69,12 +69,9 @@ COPY ./deploy/conf.d/nginx.conf /etc/nginx/nginx.conf COPY ./post_deploy.sh /var/www/post_deploy.sh # Development config files -COPY ./ssh /root/.ssh COPY ./version.jso* /var/html/version.json - - # setup composer and laravel RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \ git clone -b ${BRANCH} ${URL_TO_APPLICATION_GITHUB} /tmp/app && \ From f2551afc2b3ac206c322eb121249cbb2086e1aa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tiago=5FGon=C3=A7alves?= <89362354+James-jamames@users.noreply.github.com> Date: Thu, 19 Oct 2023 18:23:18 +0000 Subject: [PATCH 2/2] + update docker file production --- docker/homologation/Dockerfile | 6 ------ docker/production/Dockerfile | 6 +++--- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/docker/homologation/Dockerfile b/docker/homologation/Dockerfile index b5f6229..1793fc4 100644 --- a/docker/homologation/Dockerfile +++ b/docker/homologation/Dockerfile @@ -13,18 +13,12 @@ USER root WORKDIR /var/www/server - - - COPY ./docker/homologation/deploy/local.ini /usr/local/etc/php/conf.d/docker-fpm.ini COPY ./docker/homologation/deploy/conf.d/nginx.conf /etc/nginx/nginx.conf COPY ./docker/homologation/post_deploy.sh /var/www/post_deploy.sh - COPY ./version.jso* /var/html/version.json - - # setup composer and laravel RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \ git clone -b ${BRANCH} ${URL_TO_APPLICATION_GITHUB} /tmp/app && \ diff --git a/docker/production/Dockerfile b/docker/production/Dockerfile index d0ba318..1da4d59 100644 --- a/docker/production/Dockerfile +++ b/docker/production/Dockerfile @@ -64,9 +64,9 @@ RUN apt-get update \ -COPY ./deploy/local.ini /usr/local/etc/php/conf.d/docker-fpm.ini -COPY ./deploy/conf.d/nginx.conf /etc/nginx/nginx.conf -COPY ./post_deploy.sh /var/www/post_deploy.sh +COPY ./docker/production/deploy/local.ini /usr/local/etc/php/conf.d/docker-fpm.ini +COPY ./docker/production/deploy/conf.d/nginx.conf /etc/nginx/nginx.conf +COPY ./docker/production/post_deploy.sh /var/www/post_deploy.sh # Development config files