From d9fb53e87df7980d307fe75c15c63780fec6d2be Mon Sep 17 00:00:00 2001 From: spiral Date: Sun, 22 Jan 2023 03:08:00 +0000 Subject: [PATCH] npm sucks --- Dockerfile | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7a99b10..6c6d94f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,4 +8,4 @@ RUN npm i COPY . /app -CMD ["npm", "run", "ts-node", "bot.ts"] \ No newline at end of file +CMD ["npm", "run", "start"] \ No newline at end of file diff --git a/package.json b/package.json index dbee598..92a8b39 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "description": "Simply Plural bot for Discord", "main": "bot.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "start": "ts-node bot.ts" }, "author": "Lily Wonhalf ", "license": "ISC",