From d72cf83ec660f3951de28fe4b3305db13db55d9d Mon Sep 17 00:00:00 2001 From: SrIzan10 <66965250+SrIzan10@users.noreply.github.com> Date: Fri, 23 Dec 2022 18:54:54 +0100 Subject: [PATCH] fix: yeah it should work now --- Dockerfile | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 81bfee0..220271a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,6 @@ RUN npm install COPY . . -RUN tsc --build +RUN npm run build CMD node dist/index.js \ No newline at end of file diff --git a/package.json b/package.json index 5643a37..f30053a 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "dist/index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "build": "tsc", + "build": "tsc --build", "start": "tsc && node ./dist/index.js", "dev": "tsc-watch --onSuccess \"node dist/index.js\"" },