yarn install
or
npm install
yarn serve
or
npm run serve
yarn build
or
npm run build
file | Description |
---|---|
default.conf | nginx的設定,如有Api URL proxy需求 |
docker-compose.yml | docker設定 |
node_modules | 如果有npm套件下載或更新,覆蓋 node_modules 及 dist 資料夾即可 |
dist | 如果僅置換網頁內容,覆蓋 dist 資料夾即可 |
but it also removes the stopped containers as well as any networks that were created.
docker-compose down
--build : build images before starting containers. -d : Detached mode: Run containers in the background
docker-compose up --build -d