fix: index.js в корне для платформы
This commit is contained in:
+1
-1
@@ -8,4 +8,4 @@ RUN npm install --production
|
||||
COPY . .
|
||||
|
||||
EXPOSE 3000
|
||||
CMD ["node", "src/index.js"]
|
||||
CMD ["node", "index.js"]
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
// Точка входа для managed-платформы (ждёт index.js в корне)
|
||||
require('./src/index.js');
|
||||
+2
-2
@@ -2,9 +2,9 @@
|
||||
"name": "say",
|
||||
"version": "1.0.0",
|
||||
"description": "Say — голосовой ассистент Whisper + LLM",
|
||||
"main": "src/index.js",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"start": "node src/index.js"
|
||||
"start": "node index.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"express": "^4.21.0",
|
||||
|
||||
Reference in New Issue
Block a user