π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
β‘ Update Node version for Netlify deployments
Alicia Sykes08e6bc6c2783
diff --git a/.npmrc b/.npmrcdeleted file mode 100644index 2b008da6..00000000--- a/.npmrc+++ /dev/null@@ -1 +0,0 @@-node-options="--openssl-legacy-provider"diff --git a/Dockerfile b/Dockerfileindex 1722d11f..f04224f9 100644--- a/Dockerfile+++ b/Dockerfile@@ -22,7 +22,7 @@ RUN yarn install --ignore-engines --immutable --no-cache --network-timeout 30000COPY . ./# Build initial app for production-RUN NODE_OPTIONS=--openssl-legacy-provider yarn build --mode production+RUN yarn build --mode production# Production stageFROM node:20.11.1-alpine3.19diff --git a/netlify.toml b/netlify.tomlindex 4cbae19d..73d23e8e 100644--- a/netlify.toml+++ b/netlify.toml@@ -8,7 +8,7 @@command = "yarn build"publish = "dist"functions = "services/serverless-functions"- environment = { NODE_VERSION = "16.13.2" }+ environment = { NODE_VERSION = "20.11.1", NODE_OPTIONS = "--openssl-legacy-provider" }# Site info, used for the 1-Click deploy page[template.environment]diff --git a/package.json b/package.jsonindex 96af62f5..8e4f144a 100644--- a/package.json+++ b/package.json@@ -7,7 +7,7 @@"scripts": {"start": "node server","dev": "vue-cli-service serve",- "build": "vue-cli-service build",+ "build": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service build","lint": "vue-cli-service lint","pm2-start": "npx pm2 start server.js","build-watch": "vue-cli-service build --watch --mode production",