fix social-app dockerfile network
This commit is contained in:
12
patching/140-social-app-yarn-network-timeout.patch
Normal file
12
patching/140-social-app-yarn-network-timeout.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
--- a/Dockerfile
|
||||
+++ b/Dockerfile
|
||||
@@ -66,7 +66,8 @@
|
||||
echo "EXPO_PUBLIC_BUNDLE_DATE=$(date -u +"%y%m%d%H")" >> .env && \
|
||||
echo "EXPO_PUBLIC_SENTRY_DSN=$EXPO_PUBLIC_SENTRY_DSN" >> .env && \
|
||||
npm install --global yarn && \
|
||||
- yarn && \
|
||||
+ yarn config set registry https://registry.npmjs.org/ && \
|
||||
+ yarn install --frozen-lockfile --network-timeout 100000 && \
|
||||
yarn intl:build 2>&1 | tee i18n.log && \
|
||||
if grep -q "invalid syntax" "i18n.log"; then echo "\n\nFound compilation errors!\n\n" && exit 1; else echo "\n\nNo compile errors!\n\n"; fi && \
|
||||
SENTRY_AUTH_TOKEN=$SENTRY_AUTH_TOKEN SENTRY_RELEASE=$EXPO_PUBLIC_RELEASE_VERSION SENTRY_DIST=$EXPO_PUBLIC_BUNDLE_IDENTIFIER yarn build-web
|
||||
Reference in New Issue
Block a user