From 0b0c28d7ef90d73f22cde1d917e3fe08bbebae83 Mon Sep 17 00:00:00 2001 From: SrIzan10 <66965250+SrIzan10@users.noreply.github.com> Date: Mon, 22 Aug 2022 18:23:07 +0200 Subject: [PATCH] fix: compile? --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 01427c9..e764fc3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,8 @@ RUN npm install RUN npm install -g ts-node typescript +RUN tsc + COPY . . -CMD ts-node index.ts \ No newline at end of file +CMD node --experimental-specifier-resolution=node dist/index.js \ No newline at end of file