diff --git a/captain-definition b/captain-definition index 5343435..a413196 100644 --- a/captain-definition +++ b/captain-definition @@ -6,7 +6,7 @@ "ENV CAPROVER_GIT_COMMIT_SHA=${CAPROVER_GIT_COMMIT_SHA}", "RUN yarn", "RUN npx prisma generate", - "RUN npx tsc", + "RUN npm build", "ENV NODE_ENV production", "ENV PORT 80", "EXPOSE 80", diff --git a/package.json b/package.json index aff4e82..8d9ffbd 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "main": "index.ts", "scripts": { "start": "npx tsc && node ./bin/index.js", + "build" : "npx tsc", "deploy": "npx tsc && node bin/deploy-commands.js", "test": "echo \"Error: no test specified\" && exit 1" },