Skip to content

kakuilan/wallenode-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

wallenode-docker

wallenode-docker
walle-web 包含nodejs,npm的打包镜像

使用方法

#创建本地镜像
git clone https://github.com/kakuilan/wallenode-docker.git
cd wallenode-docker/
sudo docker build -t myimg .

#拉取网络镜像
sudo docker pull kakuilan/wallenode-docker:latest
sudo docker run --rm -it kakuilan/wallenode-docker:latest node -v
sudo docker run --rm -it kakuilan/wallenode-docker:latest npm -v
sudo docker run --rm -it kakuilan/wallenode-docker:latest npx -v
sudo docker run --rm -it kakuilan/wallenode-docker:latest yarn -v

nodejs版本

  • node 12.19.0
  • npm 6.14.8
  • npx 6.14.8
  • yarn 1.22.5

挂载目录

  • /opt/walle_home/codebase
  • /opt/walle_home/logs
  • /opt/walle_home/node_module/npm_cache
  • /opt/walle_home/node_module/yarn_cache
  • /opt/walle_home/plugins

注意

  • 编译打包请使用yarn,弃用npm