chore: unexpected token '.'
This commit is contained in:
parent
cd39e927b6
commit
b1313763e3
@ -51,7 +51,7 @@ services:
|
|||||||
dockerfile: ./docker/node/Dockerfile
|
dockerfile: ./docker/node/Dockerfile
|
||||||
networks:
|
networks:
|
||||||
- nocobase
|
- nocobase
|
||||||
command: [ "yarn", "start-pm2" ]
|
command: [ "yarn", "start" ]
|
||||||
working_dir: /app
|
working_dir: /app
|
||||||
env_file: ./.env
|
env_file: ./.env
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -2,7 +2,7 @@ const { existsSync } = require('fs');
|
|||||||
const { resolve } = require('path');
|
const { resolve } = require('path');
|
||||||
const packageJson = require('./package.json');
|
const packageJson = require('./package.json');
|
||||||
|
|
||||||
console.log('VERSION: ', packageJson?.version);
|
console.log('VERSION: ', packageJson.version);
|
||||||
|
|
||||||
function getUmiConfig() {
|
function getUmiConfig() {
|
||||||
const { APP_PORT, API_BASE_URL } = process.env;
|
const { APP_PORT, API_BASE_URL } = process.env;
|
||||||
|
Loading…
Reference in New Issue
Block a user