Fix cluster

This commit is contained in:
Adria Navarro 2023-05-19 16:26:49 +02:00
parent bfd846e9a4
commit e030dd866d
3 changed files with 4 additions and 22 deletions

View File

@ -1,7 +1,7 @@
module.exports = {
apps: [
{
script: "dist/index.js",
script: "index.js",
instances: "max",
exec_mode: "cluster",
},

View File

@ -1,20 +1,2 @@
node_modules
npm-debug.log
Dockerfile
src
.dockerignore
.git
.gitignore
.yarnrc
.vscode
.idea
.env
__mocks__
yarn-error.log
jest.config.ts
jest-testcontainers-config.js
LICENSE
nodemon.json
tsconfig.build.json
tsconfig.json
coverage
*
!/dist/

View File

@ -1,7 +1,7 @@
module.exports = {
apps: [
{
script: "./dist/index.js",
script: "./index.cjs",
instances: "max",
exec_mode: "cluster",
},