📦 build: Fix PTTH_QUIC Dockerfile
parent
50332bab69
commit
5eda2c4288
|
@ -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?
|
||||
|
|
Loading…
Reference in New Issue