fix: add kuromoji to backend container npm install
The backend uses NODE_PATH=/deps/node_modules with its own npm install step — not the root package.json. Added kuromoji there and reverted the incorrect root package.json change. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
5bcb8b09a8
commit
66099c12f0
2 files changed
+1
-4
No files matched your search
+1
-1
@@ -35,6 +35,6 @@ services:
|
||||
apt-get update && apt-get install -y --no-install-recommends python3 python3-pip ffmpeg curl git && rm -rf /var/lib/apt/lists/* &&
|
||||
curl -sL https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp && chmod a+rx /usr/local/bin/yt-dlp &&
|
||||
pip install --break-system-packages spotapi 'git+https://github.com/TzurSoffer/spotify-downloader' &&
|
||||
mkdir -p /deps && cd /deps && npm install express &&
|
||||
mkdir -p /deps && cd /deps && npm install express kuromoji &&
|
||||
cd /app && NODE_PATH=/deps/node_modules node novasonic-server.js
|
||||
"
|
||||
@@ -7,9 +7,6 @@
|
||||
"preview": "vite preview",
|
||||
"icons": "node scripts/gen-icons.mjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"kuromoji": "^0.1.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"sharp": "^0.34.5",
|
||||
"vite": "^5.4.0"
|
||||
|
||||
Reference in new issue
Block a user