1 Star 0 Fork 19

greatwallisme / rathole

forked from Gitee 极速下载 / rathole 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 386 Bytes
一键复制 编辑 原始数据 按行查看 历史
Yujia Qiao 提交于 2022-11-04 22:39 . fix: update Dockerfile (#201)
FROM rust:alpine as builder
RUN apk add --no-cache musl-dev openssl openssl-dev pkgconfig
WORKDIR /home/rust/src
COPY . .
RUN cargo build --locked --release --features client,server,noise,hot-reload
RUN mkdir -p build-out/
RUN cp target/release/rathole build-out/
FROM scratch
WORKDIR /app
COPY --from=builder /home/rust/src/build-out/rathole .
USER 1000:1000
ENTRYPOINT ["./rathole"]
Rust
1
https://gitee.com/greatwallisme/rathole.git
git@gitee.com:greatwallisme/rathole.git
greatwallisme
rathole
rathole
main

搜索帮助