fix: index.js в корне для платформы

This commit is contained in:
2026-05-31 18:49:54 +03:00
parent b1313bc987
commit 677468da09
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -8,4 +8,4 @@ RUN npm install --production
COPY . . COPY . .
EXPOSE 3000 EXPOSE 3000
CMD ["node", "src/index.js"] CMD ["node", "index.js"]
+2
View File
@@ -0,0 +1,2 @@
// Точка входа для managed-платформы (ждёт index.js в корне)
require('./src/index.js');
+2 -2
View File
@@ -2,9 +2,9 @@
"name": "say", "name": "say",
"version": "1.0.0", "version": "1.0.0",
"description": "Say — голосовой ассистент Whisper + LLM", "description": "Say — голосовой ассистент Whisper + LLM",
"main": "src/index.js", "main": "index.js",
"scripts": { "scripts": {
"start": "node src/index.js" "start": "node index.js"
}, },
"dependencies": { "dependencies": {
"express": "^4.21.0", "express": "^4.21.0",