- 修复Dockerfile构建问题,暂时禁用ideal-image插件 - 更新所有配置文件中的registry端口为5003 - 添加.dockerignore文件优化构建性能 - 创建docker-compose.yml文件支持本地部署 - 添加部署脚本scripts/deploy-docker.sh - 更新Gitea Actions工作流,添加Docker部署步骤 - 创建DOCKER_DEPLOYMENT.md部署文档 - 支持通过3001端口提供lingjingwanxiang web portal服务
22 lines
762 B
Python
22 lines
762 B
Python
{
|
|
'variables': {
|
|
'NAPI_VERSION%': "<!(node -p \"process.versions.napi\")",
|
|
'disable_deprecated': "<!(node -p \"process.env['npm_config_disable_deprecated']\")"
|
|
},
|
|
'conditions': [
|
|
['NAPI_VERSION!=""', { 'defines': ['NAPI_VERSION=<@(NAPI_VERSION)'] } ],
|
|
['disable_deprecated=="true"', {
|
|
'defines': ['NODE_ADDON_API_DISABLE_DEPRECATED']
|
|
}],
|
|
['OS=="mac"', {
|
|
'cflags+': ['-fvisibility=hidden'],
|
|
'xcode_settings': {
|
|
'OTHER_CFLAGS': ['-fvisibility=hidden']
|
|
}
|
|
}]
|
|
],
|
|
'include_dirs': ["<!(node -p \"require('../').include_dir\")"],
|
|
'cflags': [ '-Werror', '-Wall', '-Wextra', '-Wpedantic', '-Wunused-parameter' ],
|
|
'cflags_cc': [ '-Werror', '-Wall', '-Wextra', '-Wpedantic', '-Wunused-parameter' ]
|
|
}
|