diff --git a/WebSocketLanguageServer/Dockerfile b/WebSocketLanguageServer/Dockerfile index f94c5c4..f34ea4e 100644 --- a/WebSocketLanguageServer/Dockerfile +++ b/WebSocketLanguageServer/Dockerfile @@ -9,4 +9,5 @@ COPY . . EXPOSE 30000 +RUN npm run build CMD [ "npm", "run", "start" ] \ No newline at end of file diff --git a/WebSocketLanguageServer/package.json b/WebSocketLanguageServer/package.json index bfbe683..b30b01c 100644 --- a/WebSocketLanguageServer/package.json +++ b/WebSocketLanguageServer/package.json @@ -7,8 +7,8 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "start:dev": "npx nodemon", - "build": "rimraf ./build && tsc", - "start": "npm run build && node build/index.js" + "build": "tsc", + "start": "node build/index.js" }, "keywords": [], "author": "", @@ -16,7 +16,6 @@ "devDependencies": { "@types/node": "^20.8.6", "nodemon": "^3.0.1", - "rimraf": "^5.0.5", "ts-node": "^10.9.1", "typescript": "^5.2.2" },