Error after Publishing Realm Service (Node SDK) into Docker Container

Hello everyone! My project uses the Realm SDK for Node running in a Docker container. I will provide the details below. My issue is about an error that occurs when I load the container which during its creation or startup, doesn’t show any errors.
But when the service starts, I get the error:

------- ERROR ---------------------
> backend@1.0.0 start
> moleculer-runner

(node:18) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[2024-02-18T03:28:55.448Z] INFO  2085b3454158-18/BROKER: Moleculer v0.14.32 is starting...
[2024-02-18T03:28:55.477Z] INFO  2085b3454158-18/BROKER: Namespace: nexarflow
[2024-02-18T03:28:55.477Z] INFO  2085b3454158-18/BROKER: Node ID: 2085b3454158-18
[2024-02-18T03:28:55.485Z] INFO  2085b3454158-18/METRICS: Metrics: Enabled
[2024-02-18T03:28:55.509Z] INFO  2085b3454158-18/METRICS: Metric reporter: PrometheusReporter
[2024-02-18T03:28:55.580Z] INFO  2085b3454158-18/REGISTRY: Strategy: RoundRobinStrategy
[2024-02-18T03:28:55.593Z] INFO  2085b3454158-18/REGISTRY: Discoverer: LocalDiscoverer
[2024-02-18T03:28:55.599Z] INFO  2085b3454158-18/BROKER: Serializer: JSONSerializer
[2024-02-18T03:28:55.687Z] INFO  2085b3454158-18/BROKER: Validator: FastestValidator
[2024-02-18T03:28:55.705Z] INFO  2085b3454158-18/TRACER: Tracing: Enabled
[2024-02-18T03:28:55.710Z] INFO  2085b3454158-18/TRACER: Tracing exporter: ConsoleTraceExporter
[2024-02-18T03:28:55.729Z] INFO  2085b3454158-18/BROKER: Registered 13 middleware(s).
[2024-02-18T03:28:55.740Z] INFO  2085b3454158-18/TRANSPORTER: NATS lib version: 2.19.0
[2024-02-18T03:28:55.750Z] INFO  2085b3454158-18/BROKER: Transporter: NatsTransporter
[2024-02-18T03:28:56.311Z] ERROR 2085b3454158-18/BROKER: Failed to load service '/app/services/servicerealm.service.js' Error: Cannot find module '../generated/ts/realm.node'
Require stack:
- /app/node_modules/realm/dist/bundle.node.js
- /app/node_modules/realm/index.node.js
- /app/services/servicerealm.service.js
- /app/node_modules/moleculer/src/service-broker.js
- /app/node_modules/moleculer/index.js
- /app/node_modules/moleculer/bin/moleculer-runner.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1149:15)
    at Module._load (node:internal/modules/cjs/loader:990:27)
    at Module.require (node:internal/modules/cjs/loader:1237:19)
    at require (node:internal/modules/helpers:176:18)
    at Object.<anonymous> (/app/node_modules/realm/dist/bundle.node.js:151:22)
    at Module._compile (node:internal/modules/cjs/loader:1378:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1437:10)
    at Module.load (node:internal/modules/cjs/loader:1212:32)
    at Module._load (node:internal/modules/cjs/loader:1028:12)
    at Module.require (node:internal/modules/cjs/loader:1237:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ '/app/node_modules/realm/dist/bundle.node.js', '/app/node_modules/realm/index.node.js', '/app/services/servicerealm.service.js', '/app/node_modules/moleculer/src/service-broker.js', '/app/node_modules/moleculer/index.js', '/app/node_modules/moleculer/bin/moleculer-runner.js' ]
}
[Runner] Cannot find module '../generated/ts/realm.node'
Require stack:
- /app/node_modules/realm/dist/bundle.node.js
- /app/node_modules/realm/index.node.js
- /app/services/servicerealm.service.js
- /app/node_modules/moleculer/src/service-broker.js
- /app/node_modules/moleculer/index.js
- /app/node_modules/moleculer/bin/moleculer-runner.js Error: Cannot find module '../generated/ts/realm.node'
Require stack:
- /app/node_modules/realm/dist/bundle.node.js
- /app/node_modules/realm/index.node.js
- /app/services/servicerealm.service.js
- /app/node_modules/moleculer/src/service-broker.js
- /app/node_modules/moleculer/index.js
- /app/node_modules/moleculer/bin/moleculer-runner.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1149:15)
    at Module._load (node:internal/modules/cjs/loader:990:27)
    at Module.require (node:internal/modules/cjs/loader:1237:19)
    at require (node:internal/modules/helpers:176:18)
    at Object.<anonymous> (/app/node_modules/realm/dist/bundle.node.js:151:22)
    at Module._compile (node:internal/modules/cjs/loader:1378:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1437:10)
    at Module.load (node:internal/modules/cjs/loader:1212:32)
    at Module._load (node:internal/modules/cjs/loader:1028:12)
    at Module.require (node:internal/modules/cjs/loader:1237:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/app/node_modules/realm/dist/bundle.node.js',
    '/app/node_modules/realm/index.node.js',
    '/app/services/servicerealm.service.js',
    '/app/node_modules/moleculer/src/service-broker.js',
    '/app/node_modules/moleculer/index.js',
    '/app/node_modules/moleculer/bin/moleculer-runner.js'
  ]
}

-----------------

----------- PACKAGE.JSON-----------------

{
  "name": "backend",
  "version": "1.0.0",
  "description": "NexarFlow BackEnd Services",
  "scripts": {
    "dev": "NODE_ENV='development' moleculer-runner --repl --hot services/**/*.service.js",
    "start": "moleculer-runner",
    "cli": "moleculer connect NATS",
    "ci": "jest --watch",
    "test": "jest --coverage",
    "lint": "eslint services",
    "dc:up": "docker-compose up --build -d",
    "dc:logs": "docker-compose logs -f",
    "dc:down": "docker-compose down",
    "dc:vc": "docker volume ls -qf dangling=true | egrep '^[a-z0-9]{64}$' | xargs --no-run-if-empty docker volume rm && docker image prune",
    "dc:img": "docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t nexarsys/nexarflow-backend:pwa-2.0.0 --push .",
    "dc:dg": "docker buildx build --platform linux/amd64 -t nexarsys/nexarflow-backend:pwa-2.0.0 --push .",
    "dc:file": "docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t nexarsys/nexarflow-backend-file:pwa-2.0.0 --push -f Dockerfile-file ."
  },
  "keywords": [
    "microservices",
    "moleculer"
  ],
  "author": "",
  "devDependencies": {
    "eslint": "^8.25.0",
    "jest": "^27.5.1",
    "jest-cli": "^27.5.1",
    "moleculer-repl": "^0.7.3"
  },
  "dependencies": {
    "@novu/node": "^0.18.0",
    "@sendgrid/mail": "^8.1.0",
    "bcrypt": "^5.1.0",
    "dotenv": "^16.1.4",
    "eventemitter3": "^5.0.1",
    "ioredis": "^5.3.2",
    "luxon": "^3.3.0",
    "moleculer": "^0.14.32",
    "moleculer-db": "^0.8.24",
    "moleculer-db-adapter-mongo": "^0.4.18",
    "moleculer-db-adapter-sequelize": "^0.2.15",
    "moleculer-io": "^2.2.0",
    "moleculer-web": "^0.10.4",
    "mongodb": "6.3",
    "nats": "^2.14.0",
    "pg": "^8.10.0",
    "pg-hstore": "^2.3.4",
    "qrcode": "^1.5.3",
    "realm": "^12.6.0",
    "sequelize": "^6.31.1",
    "short-uuid": "^4.2.2",
    "socket.io": "^4.7.2",
    "speakeasy": "^2.0.0"
  },
  "engines": {
    "node": ">= 18.x.x"
  },
  "jest": {
    "coverageDirectory": "../coverage",
    "testEnvironment": "node",
    "rootDir": "./services",
    "roots": [
      "../test"
    ]
  }
}

-------- Dockerfile --------------

# Base image using Node.js 18
FROM node:current-alpine

# Set production environment
ENV NODE_ENV=development

# Create application directory
RUN mkdir /app

# Set working directory
WORKDIR /app

# Install necessary dependencies
RUN apk add --no-cache nodejs npm
RUN apk add --no-cache python3 make g++
RUN npm install -g npm@latest

# Copy necessary files for dependencies installation
COPY package*.json ./

# Install production dependencies
RUN npm install --omit=dev

# Install 'nats' package as a project dependency
RUN npm install nats --save
RUN npm install realm --save

# Copy remaining code
COPY . .

# Command to start the application
CMD ["npm", "start"]

Trying many different strategies, but no success.