Prepare for merge with dev. FIxed docker configs

This commit is contained in:
2023-11-25 19:49:52 +03:00
parent 4bac307109
commit f8d805d18e
3 changed files with 10 additions and 12 deletions

View File

@@ -4,5 +4,6 @@ RUN corepack enable && corepack prepare pnpm@latest --activate
COPY package.json pnpm-*.yaml ./
RUN pnpm install --frozen-lockfile
COPY . .
RUN pnpm build
EXPOSE 3000
CMD [ "pnpm", "start" ]
CMD [ "pnpm", "start:prod" ]

View File

@@ -11,7 +11,7 @@
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"start:prod": "node dist/src/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest",
"test:watch": "jest --watch",