From 43efb432435910373d6a35c849738c662b993f43 Mon Sep 17 00:00:00 2001 From: _ <> Date: Tue, 27 Jul 2021 03:19:43 +0000 Subject: [PATCH] :construction: --- Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 70b6d7b..6ce3c98 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,8 @@ cargo new --bin crates/ptth_relay && \ 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/debug_proxy && \ +cargo new --bin prototypes/quic_demo # copy over your manifests COPY ./Cargo.lock ./ @@ -27,6 +28,7 @@ COPY ./Cargo.toml ./ 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 ./prototypes/quic_demo/Cargo.toml ./prototypes/quic_demo/ # this build step will cache your dependencies RUN cargo build --release -p ptth_relay @@ -36,7 +38,8 @@ rm \ src/*.rs \ crates/always_equal/src/*.rs \ crates/ptth_core/src/*.rs \ -crates/ptth_relay/src/*.rs +crates/ptth_relay/src/*.rs \ +prototypes/quic_demo/src/*.rs # Copy source tree # Yes, I tried a few variations on the syntax. Dockerfiles are just rough. @@ -46,6 +49,7 @@ COPY ./crates/always_equal ./crates/always_equal COPY ./crates/ptth_core ./crates/ptth_core COPY ./crates/ptth_relay ./crates/ptth_relay COPY ./handlebars/ ./handlebars +COPY ./prototypes/quic_demo ./prototypes/quic_demo # Bug in cargo's incremental build logic, triggered by # Docker doing something funny with mtimes? Maybe?