1 Star 0 Fork 38

binger/FeatureProbe

forked from Feature Probe/FeatureProbe 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 736 Bytes
一键复制 编辑 原始数据 按行查看 历史
jianggang 提交于 2023-03-17 17:42 . 🚀 chore: add All-in-One deploy
FROM rust:1.64.0 as build
RUN rustup target add x86_64-unknown-linux-musl
RUN apt update && apt install -y musl-tools musl-dev build-essential
RUN update-ca-certificates
WORKDIR /app
COPY . /app
WORKDIR /app/server
RUN rustc -V
RUN cargo build --release --verbose
FROM debian:buster-slim
RUN apt-get update && \
apt-get install -y openjdk-11-jre-headless curl && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
COPY ./scripts/start.sh /usr/local/bin/start.sh
COPY --from=build /app/server/target/release/feature_probe_server /usr/local/bin/feature_probe_server
COPY ./api/admin/target/api.jar /usr/local/bin/api.jar
COPY ./analysis/target/analysis.jar /usr/local/bin/analysis.jar
ENTRYPOINT ["/usr/local/bin/start.sh"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/binger0812/FeatureProbe.git
git@gitee.com:binger0812/FeatureProbe.git
binger0812
FeatureProbe
FeatureProbe
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385