mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Merge pull request #605 from tdonohue/Increase_network_timeout_Docker
Increase network timeout for Docker builds to 5min
This commit is contained in:
@@ -6,5 +6,7 @@ WORKDIR /app
|
|||||||
ADD . /app/
|
ADD . /app/
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
RUN yarn install
|
# We run yarn install with an increased network timeout (5min) to avoid "ESOCKETTIMEDOUT" errors from hub.docker.com
|
||||||
|
# See, for example https://github.com/yarnpkg/yarn/issues/5540
|
||||||
|
RUN yarn install --network-timeout 300000
|
||||||
CMD yarn run watch
|
CMD yarn run watch
|
||||||
|
Reference in New Issue
Block a user