From f61fc5065a0bc76a820e0f22b5dd4458fc7c7798 Mon Sep 17 00:00:00 2001 From: einhornimmond Date: Sat, 13 Feb 2021 17:43:42 +0100 Subject: [PATCH] prevent warnings --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 08da69318..f285442fc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM nginx # install php fpm RUN apt-get update \ - && apt-get -y --no-install-recommends install curl zip php7.3-curl php7.3-zip php7.3-fpm php7.3-mbstring php7.3-intl php7.3-xml php7.3-pdo php7.3-mysql \ + && apt-get -y --no-install-recommends install curl unzip php7.3-curl php7.3-fpm php7.3-mbstring php7.3-intl php7.3-xml php7.3-pdo php7.3-mysql \ && apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/* # install composer @@ -11,5 +11,5 @@ COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer WORKDIR /usr/share/nginx/html COPY . . -COPY ./config/nginx/nginx.conf /etc/nginx/nginx.conf -RUN composer install --no-scripts --no-autoloader \ No newline at end of file +COPY ./config/nginx/nginx.conf /etc/nginx/sites-enabled/nginx.conf +RUN composer update --no-scripts --no-autoloader \ No newline at end of file