diff --git a/Dockerfile b/Dockerfile index d3b80fb..fff87d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,8 @@ cargo new --bin crates/ptth_server && \ cargo new --bin crates/ptth_file_server_bin && \ cargo new --bin tools/ptth_tail && \ cargo new --bin crates/debug_proxy && \ -cargo new --bin crates/ptth_quic +cargo new --bin crates/ptth_quic && \ +cargo new --lib crates/udp_over_tcp # copy over your manifests COPY ./Cargo.lock ./ @@ -29,6 +30,7 @@ COPY ./crates/always_equal/Cargo.toml ./crates/always_equal/ COPY ./crates/ptth_core/Cargo.toml ./crates/ptth_core/ COPY ./crates/ptth_relay/Cargo.toml ./crates/ptth_relay/ COPY ./crates/ptth_quic/Cargo.toml ./crates/ptth_quic/ +COPY ./crates/udp_over_tcp/Cargo.toml ./crates/udp_over_tcp/ # this build step will cache your dependencies RUN cargo build --release -p ptth_relay