https://github.com/2977094657/BiliHistoryFrontend
克隆仓库到本地
mkdir -p ~/docker-build && cd ~/docker-build
git clone https://github.com/2977094657/BilibiliHistoryFetcher.git
git clone https://github.com/2977094657/BiliHistoryFrontend.git
构建后端镜像
cd BilibiliHistoryFetcher
docker build -t bili-history-backend .
构建前端镜像
cd ../BiliHistoryFrontend
docker build -t bili-history-frontend .
运行后端容器
docker run -d \
--name bili-backend \
-p 23167:8899 \
-v /Users/apple/DockerDesktop/bili-history:/app/data \
-e TZ=Asia/Shanghai \
bili-backend:dev
运行前端容器
docker run -d \
--name bili-frontend \
-p 2233:80 \
-e API_URL=https://bsj.suifracti.com \
bili-frontend:latest
Comments NOTHING