1 Star 0 Fork 23

沐天虹/rathole

forked from Gitee 极速下载/rathole 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 327 Bytes
一键复制 编辑 原始数据 按行查看 历史
Orhun Parmaksız 提交于 2022-01-06 14:32 . chore: Add Dockerfile
FROM ekidd/rust-musl-builder:latest as builder
WORKDIR /home/rust/src
COPY . .
RUN cargo build --locked --release
RUN mkdir -p build-out/
RUN cp target/x86_64-unknown-linux-musl/release/rathole build-out/
FROM scratch
WORKDIR /app
COPY --from=builder /home/rust/src/build-out/rathole .
USER 1000:1000
ENTRYPOINT ["./rathole"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Rust
1
https://gitee.com/montacome/rathole.git
[email protected]:montacome/rathole.git
montacome
rathole
rathole
main

搜索帮助