mirror of https://github.com/Lissy93/dashy.git
⚡ Remove NODE_OPTIONS from build command, fix Netlify
This commit is contained in:
parent
0d79fcf8a5
commit
4886e97f2c
|
@ -22,7 +22,7 @@ RUN yarn install --ignore-engines --immutable --no-cache --network-timeout 30000
|
|||
COPY . ./
|
||||
|
||||
# Build initial app for production
|
||||
RUN yarn build --mode production
|
||||
RUN NODE_OPTIONS=--openssl-legacy-provider yarn build --mode production
|
||||
|
||||
# Production stage
|
||||
FROM node:20.11.1-alpine3.19
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"scripts": {
|
||||
"start": "node server",
|
||||
"dev": "vue-cli-service serve",
|
||||
"build": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service build",
|
||||
"build": "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",
|
||||
|
|
Loading…
Reference in New Issue