# Use a docker file to create a separate site for the frontend and backend https://github.com/x213212/test_report/tree/main # test_report Use a docker file to create a separate site for the frontend and backend 如果想快速做個小網站,最近把它弄成一個dockerfile的專案 裡面前後端分離用vue + flask + crud 中間加一層redis,資料庫用mogodb ,之後無聊玩東西可以用這個框架來玩 ![](https://hackmd.io/_uploads/HJZEckY-p.png) # command ``` docker cmpose build docker cmpose up docker cmpose down ``` ![](https://hackmd.io/_uploads/Hk7jt1Fbp.png)