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 = { module.exports = {
apps: [ apps: [
{ {
script: "dist/index.js", script: "index.js",
instances: "max", instances: "max",
exec_mode: "cluster", exec_mode: "cluster",
}, },

View File

@ -1,20 +1,2 @@
node_modules *
npm-debug.log !/dist/
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

View File

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