如何使用 docker 部署 vite + react 靜態網站?

使用 create react app 或是 vite 部署 react 靜態網站的方式其實很類似,主要的差別就是在 vite.config.js 裡面的寫法。