1 Star 0 Fork 0

chonglin/pingap

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile-build 778 Bytes
一键复制 编辑 原始数据 按行查看 历史
vicanso 提交于 2024-10-13 15:51 . Build action (#45)
FROM node:20-alpine as webbuilder
COPY . /pingap
RUN apk update \
&& apk add git make \
&& cd /pingap \
&& make build-web
FROM rust:1.81.0 as builder
COPY --from=webbuilder /pingap /pingap
RUN apt update \
&& apt install -y cmake libclang-dev wget gnupg ca-certificates lsb-release protobuf-compiler --no-install-recommends
RUN rustup target list --installed
RUN cd /pingap \
&& make release-all
FROM ubuntu:24.04
EXPOSE 7001
COPY --from=builder /pingap/target/release/pingap /usr/local/bin/pingap
COPY --from=builder /pingap/target/release/pingap-sentry /usr/local/bin/pingap-sentry
COPY --from=builder /pingap/entrypoint.sh /entrypoint.sh
RUN mkdir -p /opt/pingap/conf
CMD ["pingap", "-c", "/opt/pingap/conf", "--autoreload"]
ENTRYPOINT ["/entrypoint.sh"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/godlinc/pingap.git
git@gitee.com:godlinc/pingap.git
godlinc
pingap
pingap
main

搜索帮助