diff --git a/docker-compose.yml b/docker-compose.yml index 284c7a8d4..c25513761 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -51,7 +51,7 @@ services: dockerfile: ./docker/node/Dockerfile networks: - nocobase - command: [ "yarn", "start-pm2" ] + command: [ "yarn", "start" ] working_dir: /app env_file: ./.env volumes: diff --git a/packages/core/devtools/umiConfig.js b/packages/core/devtools/umiConfig.js index 23d8d9afe..e99f78ad1 100644 --- a/packages/core/devtools/umiConfig.js +++ b/packages/core/devtools/umiConfig.js @@ -2,7 +2,7 @@ const { existsSync } = require('fs'); const { resolve } = require('path'); const packageJson = require('./package.json'); -console.log('VERSION: ', packageJson?.version); +console.log('VERSION: ', packageJson.version); function getUmiConfig() { const { APP_PORT, API_BASE_URL } = process.env;