mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-20 17:15:51 +02:00
Increase network timeout for yarn in Dockerfile to prevent timeout errors on cross builds.
This commit is contained in:
parent
8794c1d018
commit
d3023ea945
2 changed files with 2 additions and 2 deletions
|
@ -95,7 +95,7 @@ RUN a2enmod rewrite
|
|||
# Install composer and yarn dependencies for Part-DB
|
||||
USER www-data
|
||||
RUN composer install -a --no-dev && composer clear-cache
|
||||
RUN yarn install && yarn build && yarn cache clean && rm -rf node_modules/
|
||||
RUN yarn install --network-timeout 600000 && yarn build && yarn cache clean && rm -rf node_modules/
|
||||
|
||||
# Use docker env to output logs to stdout
|
||||
ENV APP_ENV=docker
|
||||
|
|
|
@ -119,7 +119,7 @@ class StructuralEntityType extends AbstractType
|
|||
//Must be the same as the separator in the choice_loader, otherwise this will not work!
|
||||
return $element->getFullPath('->');
|
||||
}
|
||||
|
||||
|
||||
return $element->getID();
|
||||
}, //Use the element id as option value and for comparing items
|
||||
'choice_loader' => function (Options $options) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue