- Introduced a multi-stage build in the Dockerfile to separate build and runtime environments. - Added environment variables for production in the runtime stage. - Updated the start script in package.json to point to the new server entry point.
26 lines
580 B
JSON
26 lines
580 B
JSON
{
|
|
"name": "nuxt-app",
|
|
"type": "module",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "nuxt build",
|
|
"dev": "nuxt dev",
|
|
"generate": "nuxt generate",
|
|
"preview": "nuxt preview",
|
|
"postinstall": "nuxt prepare",
|
|
"start": "node .output/server/index.mjs"
|
|
},
|
|
"dependencies": {
|
|
"mongodb": "^6.18.0",
|
|
"nuxt": "^4.0.3",
|
|
"unstorage": "^1.17.0",
|
|
"vue": "^3.5.18",
|
|
"vue-router": "^4.5.1"
|
|
},
|
|
"devDependencies": {
|
|
"@nuxtjs/tailwindcss": "^6.14.0",
|
|
"autoprefixer": "^10.4.21",
|
|
"postcss": "^8.5.6",
|
|
"tailwindcss": "^3.4.17"
|
|
}
|
|
}
|