Remove composer.lock from Docker setup

This commit is contained in:
Bubka 2022-05-09 22:17:46 +02:00
parent 1641155fca
commit 1196a1413e
2 changed files with 0 additions and 3 deletions

View File

@ -19,7 +19,6 @@ on:
- .env.travis
- artisan
- composer.json
- composer.lock
- Dockerfile
- phpunit.xml
- server.php
@ -42,7 +41,6 @@ on:
- .env.travis
- artisan
- composer.json
- composer.lock
- Dockerfile
- phpunit.xml
- server.php

View File

@ -18,7 +18,6 @@ ARG GID=1000
COPY --from=build-composer --chown=${UID}:${GID} /usr/bin/composer /usr/bin/composer
RUN apk add --no-cache unzip
WORKDIR /srv
COPY artisan composer.json composer.lock ./
COPY database ./database
RUN composer install --prefer-dist --no-scripts --no-dev --no-autoloader
RUN composer dump-autoload --no-scripts --no-dev --optimize