forked from leftypol/leftypol
docker: cache composer dependencies
This commit is contained in:
parent
ee2ddeb29d
commit
a6040e704b
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ COPY --from=composer /usr/bin/composer /usr/local/bin/composer
|
|||
COPY . /code
|
||||
|
||||
# Install the compose depedencies.
|
||||
RUN cd /code && composer install
|
||||
RUN --mount=type=cache,target=/tmp/cache cd /code && composer install
|
||||
|
||||
WORKDIR "/var/www"
|
||||
CMD [ "bootstrap.sh" ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue