Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

❎ Decrease network timeout

Alicia Sykes47762390d49f
diff --git a/Dockerfile b/Dockerfile
index 2e865550..96e343b0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -16,7 +16,7 @@ WORKDIR /app
# Install app dependencies
COPY package.json yarn.lock ./
-RUN yarn install --ignore-engines --frozen-lockfile --network-timeout 1000000
+RUN yarn install --ignore-engines --frozen-lockfile --network-timeout 600000
# Copy over all project files and folders to the working directory
COPY . ./
diff --git a/package.json b/package.json
index 31be3c06..562d4030 100644
--- a/package.json
+++ b/package.json
@@ -11,7 +11,7 @@
"lint": "vue-cli-service lint",
"pm2-start": "npx pm2 start server.js",
"build-watch": "vue-cli-service build --watch --mode production",
- "build-and-start": "npm-run-all --parallel build-watch start",
+ "build-and-start": "NODE_OPTIONS=--openssl-legacy-provider npm-run-all --parallel build-watch start",
"validate-config": "node services/config-validator",
"health-check": "node services/healthcheck",
"dependency-audit": "npx improved-yarn-audit --ignore-dev-deps"