From 50e9204af0052fedee345a33465a910e638743a7 Mon Sep 17 00:00:00 2001 From: Leonardo Lemos Date: Thu, 19 May 2022 17:31:16 -0300 Subject: [PATCH] change less bin --- .dockerignore | 1 + Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..191381e --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +.git \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 6a63944..3d32481 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ RUN IPE_GD_WITHOUTAVIF=1 install-php-extensions bcmath bz2 calendar exif gd gett mongodb-stable \ imagick-stable -RUN apk add --no-cache --update supervisor=~4.2 nginx=~1.20 nginx-mod-http-headers-more openssh-client git +RUN apk add --no-cache --update supervisor=~4.2 nginx=~1.20 nginx-mod-http-headers-more openssh-client git less # Instalação do composer COPY --from=composer:2 /usr/bin/composer /usr/local/bin/composer @@ -36,7 +36,7 @@ RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" ADD ./public /var/www/app/public RUN chown -R app:app /var/www/app -WORKDIR /var/www +WORKDIR /var/www/app EXPOSE 80