19 Star 165 Fork 35

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"]
1
https://gitee.com/featureprobe/FeatureProbe.git
git@gitee.com:featureprobe/FeatureProbe.git
featureprobe
FeatureProbe
FeatureProbe
main

搜索帮助

53164aa7 5694891 3bd8fe86 5694891