docker

    TIP: Docker node-alpine 安装编译 npm 包: pinyin/nodejieba

    pinyin 依赖 nodejieba, 这里的其实要解决的是安装 nodejieba 的问题.

    Read More
     Nov 2, 2020

    Dockerfile: CMD 与 ENTRYPOINT 关系

    一图胜千言

    Read More
     Oct 12, 2019

    Dockerfile CMD: exec form vs shell form

    Dockerfile CMD 的两种格式 CMD ["executable","param1","param2"] (exec form, this is the preferred form) CMD command param1 param2 (shell form) 官方推荐 exec form.

    Read More
     Jan 18, 2019

    使用 Docker Compose 创建 MongoDB Replica Set (副本集)

    为了验证 MongoDB 主从模式时 mongoose 能够正常自动重连, 需要本地建立一个 MongoDB replica set.

    Read More
     Nov 30, 2017

    Dockerfile 最佳实践 - for Node.js

    使用 alpine 版本的基础镜像 # 明确指定版本号, 如: node:6.

    Read More
     Nov 29, 2017

     © 2024  /  BLOG - ISAYME  – 

    Powered By Hugo  Theme Harbor