mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-01-12 17:28:13 +01:00
Restore composer.json copy in Dockerfile
This commit is contained in:
parent
1196a1413e
commit
9ddee2c539
@ -18,6 +18,7 @@ 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 ./
|
||||
COPY database ./database
|
||||
RUN composer install --prefer-dist --no-scripts --no-dev --no-autoloader
|
||||
RUN composer dump-autoload --no-scripts --no-dev --optimize
|
||||
|
Loading…
Reference in New Issue
Block a user