From ee3bc19bcbe83a1840ae64d466065e95b0c827f4 Mon Sep 17 00:00:00 2001 From: rajdip-b Date: Sun, 14 Jan 2024 18:33:08 +0530 Subject: [PATCH] chore: ad start:api script in package.json --- apps/api/Dockerfile | 17 ----------------- package.json | 1 + 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/apps/api/Dockerfile b/apps/api/Dockerfile index 59ffc3d1..27a7d788 100644 --- a/apps/api/Dockerfile +++ b/apps/api/Dockerfile @@ -1,22 +1,5 @@ FROM node:20-alpine as build -# ENVs here are for reference only, don't put secrets here - -# ENV DATABASE_URL= -# ENV SUPABASE_API_URL= -# ENV SUPABASE_ANON_KEY= - -# ENV SMTP_HOST= -# ENV SMTP_PORT= -# ENV SMTP_EMAIL_ADDRESS= -# ENV SMTP_PASSWORD= -# ENV FROM_EMAIL= - -# ENV JWT_SECRET=secret - -# ENV WEB_FRONTEND_URL=https://keyshade.xyz -# ENV WORKSPACE_FRONTEND_URL=https://app.keyshade.xyz - WORKDIR /app RUN npm i -g pnpm diff --git a/package.json b/package.json index e3339e7e..734ae778 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "test:cli": "nx run cli:test", "test:sdk-node": "nx run sdk-js:test", "start:web": "nx run web:serve --configuration=production", + "start:api": "nx run api:serve --configuration=production", "db:seed": "cd apps/api/src/prisma && pnpx ts-node seed.ts", "db:generate-types": "nx run api:prisma:generate", "db:generate-migrations": "cd apps/api/src/prisma && pnpx prisma migrate dev --create-only --skip-seed",