diff --git a/ExpressAPI/src/app.ts b/ExpressAPI/src/app.ts
index df00fc016ff4c7aec464205722bd28b5dbcded96..1250af3da79a7764038ae9c16bc9934e2a4a53ed 100644
--- a/ExpressAPI/src/app.ts
+++ b/ExpressAPI/src/app.ts
@@ -1,5 +1,15 @@
-require('dotenv').config(); // ATTENTION : This line MUST be the first of this file
-require('./shared/helpers/TypeScriptExtensions'); // ATTENTION : This line MUST be the second of this file
+// Read from the .env file
+// ATTENTION : This lines MUST be the first of this file (except for the path import)
+const path = require('node:path');
+
+if ( process.env.NODE_ENV && process.env.NODE_ENV === 'production' ) {
+    require('dotenv').config();
+} else {
+    require('dotenv').config({ path: path.join(__dirname, '../.env.keys') });
+    require('dotenv').config({ DOTENV_KEY: process.env.DOTENV_KEY_DEVELOPMENT });
+}
+
+require('./shared/helpers/TypeScriptExtensions'); // ATTENTION : This line MUST be after the dotenv.config() calls
 
 import WorkerRole     from './process/WorkerRole';
 import ClusterManager from './process/ClusterManager';