webpack 有冇offical docker image?

我google找唔到, 試過好多都唔得
  1. # docker-compose.yaml
  2. version: "3"
  3. services:
  4.   frontend:
  5.     image: selina-server
  6.     #build: .
  7.     ports:
  8.       - 3000:3000
  9.     volumes:
  10.       - ./app:/bindmount:rw
  11.       # The volume is effectively hiding node_modules from the host and must be in this order
  12.       - node_modules:/src/node_modules
  13. volumes:
  14.   node_modules:
複製代碼

點解要用 docker 去做 webpack 啊?
通常都會崁入去個 nodejs project 入面,一次過連 linting 同 CI/CD 等等 workflow 串起黎做架wor?

TOP