diff --git a/crates/ptth_quic/Dockerfile b/crates/ptth_quic/Dockerfile index dddc724..96b1423 100644 --- a/crates/ptth_quic/Dockerfile +++ b/crates/ptth_quic/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_quic @@ -50,6 +52,7 @@ COPY ./crates/ptth_core ./crates/ptth_core COPY ./crates/ptth_relay ./crates/ptth_relay COPY ./handlebars/ ./handlebars COPY ./crates/ptth_quic ./crates/ptth_quic +COPY ./crates/udp_over_tcp ./crates/udp_over_tcp # Bug in cargo's incremental build logic, triggered by # Docker doing something funny with mtimes? Maybe?