install with composer.lock to make sure exact versions are installed

This commit is contained in:
Shish 2019-11-28 16:42:59 +00:00
parent 45351dd7d1
commit 56b8d88ca4
2 changed files with 1 additions and 2 deletions

View file

@ -4,5 +4,4 @@ vendor
data data
images images
thumbs thumbs
composer.lock
*.sqlite *.sqlite

View file

@ -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 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 RUN apt install -y composer imagemagick vim zip unzip
COPY composer.json /app/ COPY composer.json composer.lock /app/
WORKDIR /app WORKDIR /app
RUN composer install RUN composer install