From 898cae0f1217a5a959236463a7dc9d7207853e16 Mon Sep 17 00:00:00 2001 From: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com> Date: Tue, 28 Jan 2025 11:32:35 -0600 Subject: [PATCH] fix: Update Dockerfile.TS.sern --- templates/extra/Dockerfile.TS.sern | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/extra/Dockerfile.TS.sern b/templates/extra/Dockerfile.TS.sern index ee2654e..85fa795 100644 --- a/templates/extra/Dockerfile.TS.sern +++ b/templates/extra/Dockerfile.TS.sern @@ -1,15 +1,15 @@ FROM node:latest +RUN npm install -g @sern/cli typescript@latest + WORKDIR /app COPY package.json ./ RUN npm install -RUN npm install -D typescript - COPY . . -RUN tsc --build || npx -p typescript tsc --build +RUN sern build CMD node dist/index.js