From 56b8d88ca48dddeadc63c1b1d1ebef19d50d4873 Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 28 Nov 2019 16:42:59 +0000 Subject: [PATCH] install with composer.lock to make sure exact versions are installed --- .dockerignore | 1 - Dockerfile | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.dockerignore b/.dockerignore index 19be60f4..828d2ff8 100644 --- a/.dockerignore +++ b/.dockerignore @@ -4,5 +4,4 @@ vendor data images thumbs -composer.lock *.sqlite diff --git a/Dockerfile b/Dockerfile index af444e96..4a22f5d7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ HEALTHCHECK --interval=5m --timeout=3s CMD curl --fail http://127.0.0.1:8000/ || RUN apt install -y php7.3-cli php7.3-gd php7.3-pgsql php7.3-mysql php7.3-sqlite3 php7.3-zip php7.3-dom php7.3-mbstring php-xdebug RUN apt install -y composer imagemagick vim zip unzip -COPY composer.json /app/ +COPY composer.json composer.lock /app/ WORKDIR /app RUN composer install