NoCode

@nocode

加入于 2021年7月

npm postinstall 场景Docker构建优化

有些项目中 npm 会用到postinstall这个配置在安装完依赖做一些事情,这样在Docker 构建的时候,想缓存依赖的话会麻烦点,必须把代码整个复制,不然跑postinstall的就可能失败,可以使用 --ignore-scripts 优化,把postinstall ...

# Docker # npm # postinstall # devops
Featured image
Avatar
NoCode
·
0
0
Avatar
NoCode
·
2
0

在PG中使用JavaScript

在PG中使用JavaScript 需要使用 plv8 扩展

Featured image
Avatar
NoCode
·
1
2

Python ThreadPoolExecutor 限制_work_queue 大小

使用python的futures.ThreadPoolExecutor是,如果调用submit提交任务 ThreadPoolExecutor的会向执行

# Python
Featured image
Avatar
NoCode
·
0
0
- END -

统计

4
文章
11
评论
2
点赞
准则 博客 联系 反馈 © 2025 Geeknote