From fe15f660e6fe032289ccfc155d751a43c351bd21 Mon Sep 17 00:00:00 2001 From: Liam Date: Tue, 16 Jan 2024 15:33:50 +0000 Subject: [PATCH] e --- Dockerfile | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6a12a3c..1f564ab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ WORKDIR /usr/src/app COPY package.json pnpm-lock.yaml ./ RUN pnpm install COPY . . -RUN pnpm run tsc +RUN pnpm run build ENV PORT=80 EXPOSE 80 CMD [ "pnpm", "start" ] \ No newline at end of file diff --git a/package.json b/package.json index 4c5fe92..1f9e437 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "scripts": { "start": "node dist/index.js", "tsc": "tsc -w", + "build": "tsc", "dev": "nodemon dist/index.js" }, "author": "",