1 Star 0 Fork 11

FuryLeeU/book-searcher

forked from hamasaki/book-searcher 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 475 Bytes
一键复制 编辑 原始数据 按行查看 历史
zu1k 提交于 2023-07-02 23:19 . fix: CI use rust 1.70
FROM --platform=$BUILDPLATFORM node:20-bullseye as frontend
COPY . /source
RUN cd /source/frontend && npm install --legacy-peer-deps && npm run build
FROM rust:1.70.0-bullseye as backend
COPY . /source
COPY --from=frontend /source/frontend/dist /source/frontend/dist
RUN cd /source && cargo build --release -p book-searcher
FROM debian:bullseye
COPY --from=backend /source/target/release/book-searcher /book-searcher
CMD ["/book-searcher", "run", "-b", "0.0.0.0:7070"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/furyleeu/book-searcher.git
[email protected]:furyleeu/book-searcher.git
furyleeu
book-searcher
book-searcher
master

搜索帮助