From 4527f27874cf2aa2d8712ce0fb3f3a06efa2cabb Mon Sep 17 00:00:00 2001 From: Casca0 Date: Tue, 9 Apr 2024 18:43:54 -0300 Subject: [PATCH] Run tsc after copy --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 04d8368..62c5e52 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,10 +13,10 @@ RUN apt update && apt install -y ffmpeg # Install dependencies RUN npm install && npm install -g typescript -RUN tsc - # Copy the rest of the application code COPY . . +RUN tsc + # Define the command to start the Node.js application CMD [ "node", "dist/index.js" ]