mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-22 09:53:35 +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
|
# Install composer and yarn dependencies for Part-DB
|
||||||
USER www-data
|
USER www-data
|
||||||
RUN composer install -a --no-dev && composer clear-cache
|
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
|
# Use docker env to output logs to stdout
|
||||||
ENV APP_ENV=docker
|
ENV APP_ENV=docker
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue